Class KeyHashID

  • All Implemented Interfaces:
    ResponderID, org.mozilla.jss.asn1.ASN1Value

    public class KeyHashID
    extends java.lang.Object
    implements ResponderID
    RFC 2560:
     ResponderID ::= CHOICE {
        byName               [1] EXPLICIT Name,
        byKey                [2] EXPLICIT KeyHash }
     
    Version:
    $Revision$ $Date$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KeyHashID.Template
      A Template for decoding ResponseBytes.
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyHashID​(org.mozilla.jss.asn1.OCTET_STRING hash)  
    • Constructor Detail

      • KeyHashID

        public KeyHashID​(org.mozilla.jss.asn1.OCTET_STRING hash)
    • Method Detail

      • getTag

        public org.mozilla.jss.asn1.Tag getTag()
        Specified by:
        getTag in interface org.mozilla.jss.asn1.ASN1Value
      • encode

        public void encode​(org.mozilla.jss.asn1.Tag tag,
                           java.io.OutputStream os)
                    throws java.io.IOException
        Specified by:
        encode in interface org.mozilla.jss.asn1.ASN1Value
        Throws:
        java.io.IOException
      • encode

        public void encode​(java.io.OutputStream os)
                    throws java.io.IOException
        Specified by:
        encode in interface org.mozilla.jss.asn1.ASN1Value
        Throws:
        java.io.IOException
      • getHash

        public org.mozilla.jss.asn1.OCTET_STRING getHash()