|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.cert.ocsp.OCSPReq
public class OCSPReq
OCSPRequest ::= SEQUENCE {
tbsRequest TBSRequest,
optionalSignature [0] EXPLICIT Signature OPTIONAL }
TBSRequest ::= SEQUENCE {
version [0] EXPLICIT Version DEFAULT v1,
requestorName [1] EXPLICIT GeneralName OPTIONAL,
requestList SEQUENCE OF Request,
requestExtensions [2] EXPLICIT Extensions OPTIONAL }
Signature ::= SEQUENCE {
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING,
certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL}
Version ::= INTEGER { v1(0) }
Request ::= SEQUENCE {
reqCert CertID,
singleRequestExtensions [0] EXPLICIT Extensions OPTIONAL }
CertID ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
issuerNameHash OCTET STRING, -- Hash of Issuer's DN
issuerKeyHash OCTET STRING, -- Hash of Issuers public key
serialNumber CertificateSerialNumber }
| Constructor Summary | |
|---|---|
OCSPReq(byte[] req)
|
|
OCSPReq(org.bouncycastle.asn1.ocsp.OCSPRequest req)
|
|
| Method Summary | |
|---|---|
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(org.bouncycastle.operator.ContentVerifierProvider verifierProvider)
verify the signature against the TBSRequest object we contain. |
boolean |
isSigned()
Return whether or not this request is signed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OCSPReq(org.bouncycastle.asn1.ocsp.OCSPRequest req)
public OCSPReq(byte[] req)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public 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(org.bouncycastle.operator.ContentVerifierProvider verifierProvider)
throws OCSPException
OCSPException
public byte[] getEncoded()
throws java.io.IOException
java.io.IOException
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||