Class OCSPResponseBinary
java.lang.Object
eu.europa.esig.dss.model.identifier.Identifier
eu.europa.esig.dss.model.identifier.MultipleDigestIdentifier
eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<OCSP>
eu.europa.esig.dss.spi.x509.revocation.ocsp.OCSPResponseBinary
- All Implemented Interfaces:
IdentifierBasedObject
,Serializable
The binary of an OCSP response token
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.model.identifier.Identifier
DIGEST_ALGO
-
Method Summary
Modifier and TypeMethodDescriptionstatic OCSPResponseBinary
build
(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) Builds theOCSPResponseBinary
org.bouncycastle.asn1.ASN1ObjectIdentifier
Gets theASN1ObjectIdentifier
org.bouncycastle.cert.ocsp.BasicOCSPResp
ReturnsBasicOCSPResp
byte[]
Returns the OCSP token binariesvoid
setAsn1ObjectIdentifier
(org.bouncycastle.asn1.ASN1ObjectIdentifier asn1ObjectIdentifier) Sets theASN1ObjectIdentifier
Methods inherited from class eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier
getDSSId
Methods inherited from class eu.europa.esig.dss.model.identifier.MultipleDigestIdentifier
getBinaries, getDigestValue, isMatch
Methods inherited from class eu.europa.esig.dss.model.identifier.Identifier
asXmlId, equals, getMessageDigest, hashCode, toString
-
Method Details
-
build
Builds theOCSPResponseBinary
- Parameters:
basicOCSPResp
-BasicOCSPResp
- Returns:
OCSPResponseBinary
-
getBasicOCSPResp
public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp()ReturnsBasicOCSPResp
- Returns:
BasicOCSPResp
-
getBasicOCSPRespContent
public byte[] getBasicOCSPRespContent()Returns the OCSP token binaries- Returns:
- binaries
-
getAsn1ObjectIdentifier
public org.bouncycastle.asn1.ASN1ObjectIdentifier getAsn1ObjectIdentifier()Gets theASN1ObjectIdentifier
- Returns:
ASN1ObjectIdentifier
-
setAsn1ObjectIdentifier
public void setAsn1ObjectIdentifier(org.bouncycastle.asn1.ASN1ObjectIdentifier asn1ObjectIdentifier) Sets theASN1ObjectIdentifier
- Parameters:
asn1ObjectIdentifier
-ASN1ObjectIdentifier
-