Top Description Fields Constructors Methods
org.bouncycastle.dvcs

public Class DVCSResponse

extends DVCSMessage
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1OctetString, .ASN1Sequence, org.bouncycastle.asn1.cms.ContentInfo, .SignedData, org.bouncycastle.asn1.dvcs.DVCSObjectIdentifiers, org.bouncycastle.cms.CMSSignedData

DVCResponse is general response to DVCS (RFC 3029). It represents responses for all types of services.

Field Summary

Modifier and TypeField and Description
private DVCSResponse

Constructor Summary

AccessConstructor and Description
public
DVCSResponse(CMSSignedData
the CMS SignedData object containing the request
signedData
)

Constructs DVCResponse from CMS SignedData object.

public
DVCSResponse(ContentInfo
the contentInfo representing the DVCSRequest
contentInfo
)

Construct a DVCS Response from a ContentInfo

Method Summary

Modifier and TypeMethod and Description
public ASN1Encodable

Returns:

an org.bouncycastle.asn1.dvcs.DVCSResponse object.
getContent
()

Implements abstract org.bouncycastle.dvcs.DVCSMessage.getContent.

Return the ASN.1 DVCSResponse structure making up the body of this response.
Inherited from org.bouncycastle.dvcs.DVCSMessage:
getContentType

Field Detail

asn1back to summary
private DVCSResponse asn1

Constructor Detail

DVCSResponseback to summary
public DVCSResponse(CMSSignedData signedData) throws DVCSConstructionException

Constructs DVCResponse from CMS SignedData object.

Parameters
signedData:CMSSignedData

the CMS SignedData object containing the request

DVCSResponseback to summary
public DVCSResponse(ContentInfo contentInfo) throws DVCSConstructionException

Construct a DVCS Response from a ContentInfo

Parameters
contentInfo:ContentInfo

the contentInfo representing the DVCSRequest

Method Detail

getContentback to summary
public ASN1Encodable getContent()

Implements abstract org.bouncycastle.dvcs.DVCSMessage.getContent.

Return the ASN.1 DVCSResponse structure making up the body of this response.

Returns:ASN1Encodable

an org.bouncycastle.asn1.dvcs.DVCSResponse object.