Top Description Fields Constructors Methods
org.bouncycastle.dvcs

public Class DVCSRequest

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

DVCRequest is general request to DVCS (RFC 3029). It represents requests for all types of services. Requests for different services differ in DVCData structure.

Field Summary

Modifier and TypeField and Description
private DVCSRequest
private DVCSRequestData
private DVCSRequestInfo

Constructor Summary

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

Constructs DVCRequest from CMS SignedData object.

public
DVCSRequest(ContentInfo
the contentInfo representing the DVCSRequest
contentInfo
)

Construct a DVCS Request from a ContentInfo

Method Summary

Modifier and TypeMethod and Description
public ASN1Encodable

Returns:

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

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

Return the ASN.1 DVCSRequest structure making up the body of this request.

public DVCSRequestData

Returns:

the request Data object.
getData
()

Get data of DVCRequest.

public DVCSRequestInfo

Returns:

the request info object.
getRequestInfo
()

Get RequestInformation envelope.

public GeneralName

Returns:

the GeneralName representing the Transaction Identifier.
getTransactionIdentifier
()

Get the transaction identifier of request.

Inherited from org.bouncycastle.dvcs.DVCSMessage:
getContentType

Field Detail

asn1back to summary
private DVCSRequest asn1
databack to summary
private DVCSRequestData data
reqInfoback to summary
private DVCSRequestInfo reqInfo

Constructor Detail

DVCSRequestback to summary
public DVCSRequest(CMSSignedData signedData) throws DVCSConstructionException

Constructs DVCRequest from CMS SignedData object.

Parameters
signedData:CMSSignedData

the CMS SignedData object containing the request

DVCSRequestback to summary
public DVCSRequest(ContentInfo contentInfo) throws DVCSConstructionException

Construct a DVCS Request 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 DVCSRequest structure making up the body of this request.

Returns:ASN1Encodable

an org.bouncycastle.asn1.dvcs.DVCSRequest object.

getDataback to summary
public DVCSRequestData getData()

Get data of DVCRequest. Depending on type of the request it could be different subclasses of DVCRequestData.

Returns:DVCSRequestData

the request Data object.

getRequestInfoback to summary
public DVCSRequestInfo getRequestInfo()

Get RequestInformation envelope.

Returns:DVCSRequestInfo

the request info object.

getTransactionIdentifierback to summary
public GeneralName getTransactionIdentifier()

Get the transaction identifier of request.

Returns:GeneralName

the GeneralName representing the Transaction Identifier.