Package org.bouncycastle.dvcs
Class DVCSResponse
java.lang.Object
org.bouncycastle.dvcs.DVCSMessage
org.bouncycastle.dvcs.DVCSResponse
DVCResponse is general response to DVCS (RFC 3029).
It represents responses for all types of services.
-
Constructor Summary
ConstructorDescriptionDVCSResponse
(org.bouncycastle.asn1.cms.ContentInfo contentInfo) Construct a DVCS Response from a ContentInfoDVCSResponse
(CMSSignedData signedData) Constructs DVCResponse from CMS SignedData object. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Encodable
Return the ASN.1 DVCSResponse structure making up the body of this response.Methods inherited from class org.bouncycastle.dvcs.DVCSMessage
getContentType
-
Constructor Details
-
DVCSResponse
Constructs DVCResponse from CMS SignedData object.- Parameters:
signedData
- the CMS SignedData object containing the request- Throws:
DVCSConstructionException
-
DVCSResponse
public DVCSResponse(org.bouncycastle.asn1.cms.ContentInfo contentInfo) throws DVCSConstructionException Construct a DVCS Response from a ContentInfo- Parameters:
contentInfo
- the contentInfo representing the DVCSRequest- Throws:
DVCSConstructionException
-
-
Method Details
-
getContent
public org.bouncycastle.asn1.ASN1Encodable getContent()Return the ASN.1 DVCSResponse structure making up the body of this response.- Specified by:
getContent
in classDVCSMessage
- Returns:
- an org.bouncycastle.asn1.dvcs.DVCSResponse object.
-