|
Bouncy Castle Cryptography 1.30 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure
A high level authority key identifier.
Constructor Summary | |
AuthorityKeyIdentifierStructure(byte[] encodedValue)
Constructor which will take the byte[] returned from getExtensionValue() |
|
AuthorityKeyIdentifierStructure(java.security.PublicKey pubKey)
Create an AuthorityKeyIdentifier using just the hash of the public key. |
|
AuthorityKeyIdentifierStructure(java.security.cert.X509Certificate certificate)
Create an AuthorityKeyIdentifier using the passed in certificate's public key, issuer and serial number. |
Methods inherited from class org.bouncycastle.asn1.x509.AuthorityKeyIdentifier |
getAuthorityCertIssuer, getAuthorityCertSerialNumber, getInstance, getInstance, getKeyIdentifier, toASN1Object, toString |
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
equals, getDERObject, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AuthorityKeyIdentifierStructure(byte[] encodedValue) throws java.io.IOException
encodedValue
- a DER octet encoded string with the extension structure in it.
java.io.IOException
- on parsing errors.public AuthorityKeyIdentifierStructure(java.security.cert.X509Certificate certificate) throws java.security.cert.CertificateParsingException
certificate
- the certificate providing the information.
java.security.cert.CertificateParsingException
- if there is a problem processing the certificatepublic AuthorityKeyIdentifierStructure(java.security.PublicKey pubKey) throws java.security.InvalidKeyException
pubKey
- the key to generate the hash from.
java.security.InvalidKeyException
- if there is a problem using the key.
|
Bouncy Castle Cryptography 1.30 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |