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

      • getIdentifier

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

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