|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.dvcs.DVCSRequestInfo
Information piece of DVCS requests. It is common for all types of DVCS requests.
Constructor Summary | |
DVCSRequestInfo(byte[] in)
Constructs DVCRequestInfo from byte array (DER encoded DVCSRequestInformation). |
|
DVCSRequestInfo(org.bouncycastle.asn1.dvcs.DVCSRequestInformation data)
Constructs DVCRequestInfo from DVCSRequestInformation ASN.1 structure. |
Method Summary | |
org.bouncycastle.asn1.x509.GeneralNames |
getDataLocations()
Get data locations, where the copy of request Data can be obtained. |
org.bouncycastle.asn1.x509.GeneralNames |
getDVCSNames()
Get names of DVCS servers. |
java.math.BigInteger |
getNonce()
Get nonce if it is set. |
org.bouncycastle.asn1.x509.GeneralNames |
getRequester()
Get names of requesting entity, if set. |
org.bouncycastle.asn1.x509.PolicyInformation |
getRequestPolicy()
Get policy, under which the validation is requested. |
java.util.Date |
getRequestTime()
Get request generation time if it is set. |
int |
getServiceType()
Get requested service type. |
int |
getVersion()
Get DVCS version of request. |
org.bouncycastle.asn1.dvcs.DVCSRequestInformation |
toASN1Structure()
Converts to corresponding ASN.1 structure (DVCSRequestInformation). |
static boolean |
validate(DVCSRequestInfo requestInfo,
DVCSRequestInfo responseInfo)
Compares two DVCRequestInfo structures: one from DVCRequest, and one from DVCResponse. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DVCSRequestInfo(byte[] in)
in
- a byte array holding the encoding of a DVCSRequestInformation structure.public DVCSRequestInfo(org.bouncycastle.asn1.dvcs.DVCSRequestInformation data)
data
- a DVCSRequestInformation to populate this object with.Method Detail |
public org.bouncycastle.asn1.dvcs.DVCSRequestInformation toASN1Structure()
public int getVersion()
public int getServiceType()
public java.math.BigInteger getNonce()
public java.util.Date getRequestTime() throws DVCSParsingException
DVCSParsingException
- if a request time is present but cannot be extracted.public org.bouncycastle.asn1.x509.GeneralNames getRequester()
public org.bouncycastle.asn1.x509.PolicyInformation getRequestPolicy()
public org.bouncycastle.asn1.x509.GeneralNames getDVCSNames()
public org.bouncycastle.asn1.x509.GeneralNames getDataLocations()
public static boolean validate(DVCSRequestInfo requestInfo, DVCSRequestInfo responseInfo)
requestInfo
- - DVCRequestInfo of DVCRequestresponseInfo
- - DVCRequestInfo of DVCResponse
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |