FileDocCategorySizeDatePackage
CertificateIssuer.javaAPI DocAndroid 1.5 API3415Wed May 06 22:41:06 BST 2009org.apache.harmony.security.x509

CertificateIssuer

public class CertificateIssuer extends ExtensionValue
CRL Entry's Certificate Issuer Extension (OID = 2.5.29.29). It is a CRL entry extension and contains the GeneralNames describing the issuer of revoked certificate. Its ASN.1 notation is as follows:
id-ce-certificateIssuer OBJECT IDENTIFIER ::= { id-ce 29 }

certificateIssuer ::= GeneralNames
(as specified in RFC 3280) In java implementation it is presumed that GeneralNames consist of one element and its type is directoryName.

Fields Summary
private X500Principal
issuer
public static org.apache.harmony.security.asn1.ASN1Type
ASN1
ASN.1 Encoder/Decoder.
Constructors Summary
public CertificateIssuer(GeneralName issuer)
Creates an object on the base of GeneralName structure.

        super(ASN1.encode(issuer));
    
public CertificateIssuer(byte[] encoding)
Creates an object on the base of its encoded form.

        super(encoding);
    
Methods Summary
public voiddumpValue(java.lang.StringBuffer buffer, java.lang.String prefix)
Places the string representation of extension value into the StringBuffer object.

        buffer.append(prefix).append("Certificate Issuer: "); //$NON-NLS-1$
        if (issuer == null) {
            try {
                issuer = getIssuer();
            } catch (IOException e) {
                // incorrect extension value encoding
                buffer.append("Unparseable (incorrect!) extension value:\n"); //$NON-NLS-1$
                super.dumpValue(buffer);
            }
        }
        buffer.append(issuer).append('\n");
    
public javax.security.auth.x500.X500PrincipalgetIssuer()
Returns the issuer.

        if (issuer == null) {
            issuer = (X500Principal) ASN1.decode(getEncoded());
        }
        return issuer;