Package com.netscape.cmsutil.ocsp
Class KeyHashID
java.lang.Object
com.netscape.cmsutil.ocsp.KeyHashID
- All Implemented Interfaces:
ResponderID
,org.mozilla.jss.asn1.ASN1Value
RFC 2560:
ResponderID ::= CHOICE { byName [1] EXPLICIT Name, byKey [2] EXPLICIT KeyHash }
- Version:
- $Revision$ $Date$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A Template for decodingResponseBytes
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream os) void
encode
(org.mozilla.jss.asn1.Tag tag, OutputStream os) org.mozilla.jss.asn1.OCTET_STRING
getHash()
org.mozilla.jss.asn1.Tag
getTag()
static KeyHashID.Template
-
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 interfaceorg.mozilla.jss.asn1.ASN1Value
-
encode
- Specified by:
encode
in interfaceorg.mozilla.jss.asn1.ASN1Value
- Throws:
IOException
-
encode
- Specified by:
encode
in interfaceorg.mozilla.jss.asn1.ASN1Value
- Throws:
IOException
-
getHash
public org.mozilla.jss.asn1.OCTET_STRING getHash() -
getTemplate
-