com.ibm.security12.sun.security.x509
Class KeyIdentifier

java.lang.Object
  |
  +--com.ibm.security12.sun.security.x509.KeyIdentifier

public class KeyIdentifier
extends Object

Represent the Key Identifier ASN.1 object.

Version:
1.6
Author:
Amit Kapoor, Hemma Prafullchandra

Constructor Summary
KeyIdentifier(byte[] octetString)
          Create a KeyIdentifier with the passed bit settings.
KeyIdentifier(DerValue val)
          Create a KeyIdentifier from the DER encoded value.
 
Method Summary
 byte[] getIdentifier()
          Return the value of the KeyIdentifier as byte array.
 String toString()
          Returns a printable representation of the KeyUsage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 IOException
Create a KeyIdentifier from the DER encoded value.
Parameters:
val - the DerValue
Method Detail

getIdentifier

public byte[] getIdentifier()
Return the value of the KeyIdentifier as byte array.

toString

public String toString()
Returns a printable representation of the KeyUsage.
Overrides:
toString in class Object