|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.X509Extension
oracle.security.crypto.cert.ext.AuthorityKeyIDExtension
Represents the certificate/CRL extension Authority Key Identifier from RFC 2459. This extension MUST NOT be critical.
If the key ID representation is used, the bytes should be obtained using one of the following two methods:
If the issuer/serial number representation is used, both the issuer and the serial number MUST be present.
Field Summary |
Fields inherited from class oracle.security.crypto.cert.X509Extension |
id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded |
Constructor Summary | |
AuthorityKeyIDExtension() Create a new extension with the appropriate OID type. |
|
AuthorityKeyIDExtension(byte[] keyID) Creates a new extension with the specified authority key identifier. |
|
AuthorityKeyIDExtension(byte[] keyID, boolean critical) Creates a new extension with the specified authority key identifier. |
|
AuthorityKeyIDExtension(GeneralName issuer, java.math.BigInteger serialNo) Creates a new extension with the specified authority certificate issuer and serial number. |
|
AuthorityKeyIDExtension(GeneralName issuer, java.math.BigInteger serialNo, boolean critical) Creates a new extension with the specified authority certificate issuer and serial number. |
|
AuthorityKeyIDExtension(java.io.InputStream is) |
|
AuthorityKeyIDExtension(java.util.Vector issuer, java.math.BigInteger serialNo) Creates a new extension with the specified authority certificate issuer and serial number. |
|
AuthorityKeyIDExtension(java.util.Vector issuer, java.math.BigInteger serialNo, boolean critical) Creates a new extension with the specified authority certificate issuer and serial number. |
Method Summary | |
java.util.Enumeration |
authorityCertIssuer() Gets the authority certificate issuer of this extension. |
java.math.BigInteger |
getAuthorityCertSerialNo() Gets the authority certificate serial number for this extension. |
byte[] |
getAuthorityKeyID() Gets the authority key ID for this extension. |
java.lang.String |
toString() Returns a string representation of this object. |
Methods inherited from class oracle.security.crypto.cert.X509Extension |
getASN1Value, getCritical, getID, getType, getValue, input, input, inputInstance, isRecognized, length, output, setCritical, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AuthorityKeyIDExtension()
Note: An object created using this constructor may not be in a valid state. This constructor is intended primarily for use in conjunction with the X509Extension.input(java.io.InputStream)
method.
public AuthorityKeyIDExtension(byte[] keyID)
keyID
- A byte[]
containing the authority key identifier.public AuthorityKeyIDExtension(byte[] keyID, boolean critical)
keyID
- A byte[]
containing the authority key identifier.critical
- true
if this extension is critical, false
otherwise.public AuthorityKeyIDExtension(GeneralName issuer, java.math.BigInteger serialNo)
issuer
- The authority certificate issuer.serialNo
- The authority certificate serial number.public AuthorityKeyIDExtension(GeneralName issuer, java.math.BigInteger serialNo, boolean critical)
issuer
- The authority certificate issuer.serialNo
- The authority certificate serial number.critical
- true
if this extension is critical, false
otherwise.public AuthorityKeyIDExtension(java.util.Vector issuer, java.math.BigInteger serialNo)
issuer
- A Vector
of GeneralName
s for the authority certificate issuer.serialNo
- The authority certificate serial number.public AuthorityKeyIDExtension(java.util.Vector issuer, java.math.BigInteger serialNo, boolean critical)
issuer
- A Vector
of GeneralName
s for the authority certificate issuer.serialNo
- The authority certificate serial number.critical
- true
if this extension is critical, false
otherwise.public AuthorityKeyIDExtension(java.io.InputStream is) throws java.io.IOException
Method Detail |
public byte[] getAuthorityKeyID()
byte[]
keyID, or null
if the issuer and serial number representation is used.public java.util.Enumeration authorityCertIssuer()
Enumeration
of GeneralName
s representing the authority certificate issuer, or null
if the keyID representation is used.public java.math.BigInteger getAuthorityCertSerialNo()
BigInteger
serial number, or null
if the keyID representation is used.public java.lang.String toString()
X509Extension
toString
in class X509Extension
|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |