Top Description Fields Constructors Methods
org.bouncycastle.asn1.cms

public Class SCVPReqRes

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject

RFC 5940: Additional Cryptographic Message Syntax (CMS) Revocation Information Choices.

SCVPReqRes ::= SEQUENCE {
    request  [0] EXPLICIT ContentInfo OPTIONAL,
    response     ContentInfo }

Field Summary

Modifier and TypeField and Description
private final ContentInfo
private final ContentInfo

Constructor Summary

AccessConstructor and Description
private
public
public
SCVPReqRes(ContentInfo request, ContentInfo response)

Method Summary

Modifier and TypeMethod and Description
public static SCVPReqRes
getInstance(Object
the object we want converted.
obj
)

Return a SCVPReqRes object from the given object.

public ContentInfo
public ContentInfo
public ASN1Primitive

Returns:

the ASN.1 primitive representation.
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

requestback to summary
private final ContentInfo request
responseback to summary
private final ContentInfo response

Constructor Detail

SCVPReqResback to summary
private SCVPReqRes(ASN1Sequence seq)
SCVPReqResback to summary
public SCVPReqRes(ContentInfo response)
SCVPReqResback to summary
public SCVPReqRes(ContentInfo request, ContentInfo response)

Method Detail

getInstanceback to summary
public static SCVPReqRes getInstance(Object obj)

Return a SCVPReqRes object from the given object.

Accepted inputs:

Parameters
obj:Object

the object we want converted.

Exceptions
IllegalArgumentException:
if the object cannot be converted.
getRequestback to summary
public ContentInfo getRequest()
getResponseback to summary
public ContentInfo getResponse()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

the ASN.1 primitive representation.