Class KeyIdentifier

java.lang.Object
org.mozilla.jss.netscape.security.x509.KeyIdentifier
All Implemented Interfaces:
Serializable

public class KeyIdentifier extends Object implements Serializable
Represent the Key Identifier ASN.1 object.
See Also:
  • Constructor Details

    • 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
      Throws:
      IOException
  • Method Details

    • 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