public class X509AuthorityKeyIdentifier extends AbstractX509KeyIdentifier
http://tools.ietf.org/html/rfc5280
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IDENTIFIER |
private mybouncycastle.org.bouncycastle.asn1.x509.GeneralNames |
m_names
the optional name of the issuer
|
private java.math.BigInteger |
m_serial
the optional serial number of the issuing certificate
|
m_value
Constructor and Description |
---|
X509AuthorityKeyIdentifier(mybouncycastle.org.bouncycastle.asn1.ASN1Sequence a_extension)
Creates an extension from a BouncyCastle ASN1 sequence.
|
X509AuthorityKeyIdentifier(IMyPublicKey a_publicKey)
Creates a new X509AuthorityKeyIdentifier from a public key.
|
X509AuthorityKeyIdentifier(IMyPublicKey a_publicKey,
mybouncycastle.org.bouncycastle.asn1.x509.GeneralNames a_name,
java.math.BigInteger a_serial)
Creates a new X509AuthorityKeyIdentifier from a public key, a name and
a certificate serial
|
X509AuthorityKeyIdentifier(IMyPublicKey a_publicKey,
X509DistinguishedName a_name,
java.math.BigInteger a_serial)
Creates a new X509AuthorityKeyIdentifier from a public key, a distinguished name and
a certificate serial
|
Modifier and Type | Method and Description |
---|---|
private static byte[] |
createDEROctets(IMyPublicKey a_publicKey,
mybouncycastle.org.bouncycastle.asn1.x509.GeneralNames a_name,
java.math.BigInteger a_serial)
Generates the octets to hand over to the super class
|
private void |
createValue()
Calculate the AuthorityKeyIdentifier value.
|
java.lang.String |
getName()
Returns "AuthorityKeyIdentifier".
|
java.util.Vector |
getValues()
Returns a Vector containing the keyIdentifier and if available the name of the
certificate issuer und the serial number of the issuing certificate.
|
getValue, getValueWithoutColon
equals, getBCExtension, getDEROctets, getIdentifier, getInstance, hashCode, isCritical, toString
public static final java.lang.String IDENTIFIER
private java.math.BigInteger m_serial
private mybouncycastle.org.bouncycastle.asn1.x509.GeneralNames m_names
public X509AuthorityKeyIdentifier(IMyPublicKey a_publicKey)
a_publicKey
- the issuer's public keypublic X509AuthorityKeyIdentifier(IMyPublicKey a_publicKey, mybouncycastle.org.bouncycastle.asn1.x509.GeneralNames a_name, java.math.BigInteger a_serial)
a_publicKey
- the issuer's public keya_name
- the issuer's namea_serial
- the issuing certificate's serial numberpublic X509AuthorityKeyIdentifier(IMyPublicKey a_publicKey, X509DistinguishedName a_name, java.math.BigInteger a_serial)
a_publicKey
- the issuer's public keya_name
- the issuer's distinguished namea_serial
- the issuing certificate's serial numberpublic X509AuthorityKeyIdentifier(mybouncycastle.org.bouncycastle.asn1.ASN1Sequence a_extension)
a_extension
- a ASN1Sequencepublic java.lang.String getName()
getName
in class AbstractX509Extension
private static byte[] createDEROctets(IMyPublicKey a_publicKey, mybouncycastle.org.bouncycastle.asn1.x509.GeneralNames a_name, java.math.BigInteger a_serial)
a_publicKey
- the issuer's public keya_name
- the issuer's namea_serial
- the issuing certificate's serial numberprivate void createValue()
public java.util.Vector getValues()
getValues
in class AbstractX509KeyIdentifier
Copyright © 2023. All rights reserved.