Class OCSPResponseBinary
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.ocsp.OCSPResponseBinary
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final eu.europa.esig.dss.enumerations.DigestAlgorithm -
Method Summary
Modifier and TypeMethodDescriptionasXmlId()static OCSPResponseBinarybuild(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) Builds theOCSPResponseBinarybooleanorg.bouncycastle.asn1.ASN1ObjectIdentifierGets theASN1ObjectIdentifierorg.bouncycastle.cert.ocsp.BasicOCSPRespReturnsBasicOCSPRespbyte[]Returns the OCSP token binariesbyte[]byte[]getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) eu.europa.esig.dss.model.identifier.IdentifiergetDSSId()protected MessageDigestgetMessageDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) inthashCode()booleanisMatch(eu.europa.esig.dss.model.Digest arg0) voidsetAsn1ObjectIdentifier(org.bouncycastle.asn1.ASN1ObjectIdentifier asn1ObjectIdentifier) Sets theASN1ObjectIdentifiertoString()
-
Field Details
-
DIGEST_ALGO
protected static final eu.europa.esig.dss.enumerations.DigestAlgorithm DIGEST_ALGO
-
-
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
-
getDSSId
public eu.europa.esig.dss.model.identifier.Identifier getDSSId() -
getBinaries
public byte[] getBinaries() -
getDigestValue
public byte[] getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
isMatch
public boolean isMatch(eu.europa.esig.dss.model.Digest arg0) -
getMessageDigest
-
asXmlId
-
toString
-
hashCode
-
equals
-