Class KeyHashID

java.lang.Object
com.netscape.cmsutil.ocsp.KeyHashID
All Implemented Interfaces:
ResponderID, org.mozilla.jss.asn1.ASN1Value

public class KeyHashID extends Object implements ResponderID
RFC 2560:
 ResponderID ::= CHOICE {
    byName               [1] EXPLICIT Name,
    byKey                [2] EXPLICIT KeyHash }
 
Version:
$Revision$ $Date$
  • Constructor Details

    • KeyHashID

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

    • 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, OutputStream os) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • encode

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

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

      public static KeyHashID.Template getTemplate()