Package netscape.security.x509
Class KeyIdentifier
- java.lang.Object
-
- netscape.security.x509.KeyIdentifier
-
- All Implemented Interfaces:
java.io.Serializable
public class KeyIdentifier extends java.lang.Object implements java.io.Serializable
Represent the Key Identifier ASN.1 object.- Version:
- 1.4
- Author:
- Amit Kapoor, Hemma Prafullchandra
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyIdentifier(byte[] octetString)
Create a KeyIdentifier with the passed bit settings.KeyIdentifier(DerValue val)
Create a KeyIdentifier from the DER encoded value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getIdentifier()
Return the value of the KeyIdentifier as byte array.java.lang.String
toString()
Returns a printable representation of the KeyUsage.
-
-
-
Constructor Detail
-
KeyIdentifier
public KeyIdentifier(byte[] octetString)
Create a KeyIdentifier with the passed bit settings.- Parameters:
octetString
- the octet string identifying the key identifier.
-
KeyIdentifier
public KeyIdentifier(DerValue val) throws java.io.IOException
Create a KeyIdentifier from the DER encoded value.- Parameters:
val
- the DerValue- Throws:
java.io.IOException
-
-