|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.crypto.AbstractX509Extension
anon.crypto.X509CertificateIssuer
public class X509CertificateIssuer
This class implements the CertificateIssuer Entry-Extension for X.509-CRLs as specified in RFC 5280.
http://tools.ietf.org/html/rfc5280| Field Summary | |
|---|---|
static java.lang.String |
IDENTIFIER
|
private X509DistinguishedName |
m_issuer
the distinguished name of the certificate's issuer |
| Constructor Summary | |
|---|---|
X509CertificateIssuer(org.bouncycastle.asn1.DERSequence a_extension)
Creates an new X509etificateIssuer object from a BouncyCastle DERSequence |
|
X509CertificateIssuer(X509DistinguishedName a_issuer)
Create a new X509CertificateIssuer object from a given distinguished name. |
|
| Method Summary | |
|---|---|
private static byte[] |
createDEROctets(X509DistinguishedName a_issuer)
Generates the DEROctets of this extension to hand over to the super class. |
private void |
createValue()
reads the distinguished name of the certificate issuer from the DEROctets |
boolean |
equalsIssuer(java.lang.Object a_object)
Returns if the issuer's DN and a given DN are equal. |
X509DistinguishedName |
getDistinguishedName()
Returns the X509DistinguishedName of the issuer represented by this extension |
java.lang.String |
getName()
Returns the human-readable name of this extension. |
java.util.Vector |
getValues()
This method returns all values of this extension in separated String objects. |
| Methods inherited from class anon.crypto.AbstractX509Extension |
|---|
equals, getBCExtension, getDEROctets, getIdentifier, getInstance, hashCode, isCritical, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IDENTIFIER
private X509DistinguishedName m_issuer
| Constructor Detail |
|---|
public X509CertificateIssuer(X509DistinguishedName a_issuer)
a_issuer - the distinguished name of the certificate's issuerpublic X509CertificateIssuer(org.bouncycastle.asn1.DERSequence a_extension)
a_extension - the extions as DERSequence| Method Detail |
|---|
private static byte[] createDEROctets(X509DistinguishedName a_issuer)
a_issuer - the distinguished name of the certificate's issuer
public java.lang.String getName()
AbstractX509Extension
getName in class AbstractX509Extensionprivate void createValue()
public java.util.Vector getValues()
AbstractX509Extension
getValues in class AbstractX509Extensionpublic boolean equalsIssuer(java.lang.Object a_object)
false
is returned.
X509DistinguishedName.equals()public X509DistinguishedName getDistinguishedName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||