List of usage examples for org.bouncycastle.asn1.x509 V2Form getIssuerName
public GeneralNames getIssuerName()
From source file:nl.uva.vlet.grid.voms.VOMSAttributeCertificate.java
License:Apache License
public String getIssuer() throws Exception { //---------------------------------------------------------------------------- // return the issuer's DN as a String String issuerDN = ""; try {// w ww . j a va 2s. c om V2Form v2form = (V2Form) this.issuer.getIssuer(); if (v2form != null) { GeneralName[] issuer_name_array = v2form.getIssuerName().getNames(); DERSequence issuer_name_sequence = (DERSequence) issuer_name_array[0].getName(); issuerDN = this.DERSequencetoDN(issuer_name_sequence); } } catch (Exception e) { throw e; } return issuerDN; }