public class OCSPReq
extends java.lang.Object
| Constructor and Description |
|---|
OCSPReq(byte[] req) |
OCSPReq(org.bouncycastle.asn1.ocsp.OCSPRequest req) |
| Modifier and Type | Method and Description |
|---|---|
X509CertificateHolder[] |
getCerts() |
java.util.Set |
getCriticalExtensionOIDs() |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
org.bouncycastle.asn1.x509.Extension |
getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) |
java.util.List |
getExtensionOIDs() |
java.util.Set |
getNonCriticalExtensionOIDs() |
Req[] |
getRequestList() |
org.bouncycastle.asn1.x509.GeneralName |
getRequestorName() |
byte[] |
getSignature() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getSignatureAlgOID()
return the object identifier representing the signature algorithm
|
int |
getVersionNumber() |
boolean |
hasExtensions() |
boolean |
isSignatureValid(ContentVerifierProvider verifierProvider)
verify the signature against the TBSRequest object we contain.
|
boolean |
isSigned()
Return whether or not this request is signed.
|
public OCSPReq(org.bouncycastle.asn1.ocsp.OCSPRequest req)
public OCSPReq(byte[] req)
throws java.io.IOException
java.io.IOExceptionpublic int getVersionNumber()
public org.bouncycastle.asn1.x509.GeneralName getRequestorName()
public Req[] getRequestList()
public boolean hasExtensions()
public org.bouncycastle.asn1.x509.Extension getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
public java.util.List getExtensionOIDs()
public java.util.Set getCriticalExtensionOIDs()
public java.util.Set getNonCriticalExtensionOIDs()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getSignatureAlgOID()
public byte[] getSignature()
public X509CertificateHolder[] getCerts()
public boolean isSigned()
public boolean isSignatureValid(ContentVerifierProvider verifierProvider) throws OCSPException
OCSPExceptionpublic byte[] getEncoded()
throws java.io.IOException
java.io.IOException