|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-05 |
||||||||
| 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
public class 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.List<GeneralName> issuer, java.math.BigInteger serialNo)Creates a new extension with the specified authority certificate issuer and serial number. |
|
AuthorityKeyIDExtension(java.util.List<GeneralName> issuer, java.math.BigInteger serialNo, boolean critical)Creates a new extension with the specified authority certificate issuer and serial number. |
|
AuthorityKeyIDExtension(java.util.Vector<GeneralName> issuer, java.math.BigInteger serialNo)Deprecated. Use AuthorityKeyIDExtension(List, BigInteger) |
|
AuthorityKeyIDExtension(java.util.Vector<GeneralName> issuer, java.math.BigInteger serialNo, boolean critical)Deprecated. Use AuthorityKeyIDExtension(List, BigInteger, boolean) |
|
| Method Summary | |
|---|---|
java.util.Enumeration<GeneralName> |
authorityCertIssuer()Deprecated. Use getAuthorityCertIssuer() |
java.util.ArrayList<GeneralName> |
getAuthorityCertIssuer()Deprecated. |
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 |
|---|
getCritical, getType, getValue, input, inputInstance, isRecognized, length, output, readExternal, setCritical, setValue, writeExternal |
| 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<GeneralName> issuer,
java.math.BigInteger serialNo)
AuthorityKeyIDExtension(List, BigInteger)issuer - A Vector of GeneralNames for the authority certificate issuer.serialNo - The authority certificate serial number.
public AuthorityKeyIDExtension(java.util.List<GeneralName> issuer,
java.math.BigInteger serialNo)
issuer - A List of GeneralNames for the authority certificate issuer.serialNo - The authority certificate serial number.
public AuthorityKeyIDExtension(java.util.Vector<GeneralName> issuer,
java.math.BigInteger serialNo,
boolean critical)
AuthorityKeyIDExtension(List, BigInteger, boolean)issuer - A Vector of GeneralNames for the authority certificate issuer.serialNo - The authority certificate serial number.critical - true if this extension is critical, false otherwise.
public AuthorityKeyIDExtension(java.util.List<GeneralName> issuer,
java.math.BigInteger serialNo,
boolean critical)
issuer - A Vector of GeneralNames 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
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<GeneralName> authorityCertIssuer()
getAuthorityCertIssuer()Enumeration of GeneralNames representing the authority certificate issuer, or null if the keyID representation is used.public java.util.ArrayList<GeneralName> getAuthorityCertIssuer()
ArrayList of GeneralNames 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()
X509ExtensiontoString in class X509Extension
|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||