org.bouncycastle.asn1.cmp

Class ProtectedPart

Implemented Interfaces:
DEREncodable

public class ProtectedPart
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

PKIBody
getBody()
PKIHeader
getHeader()
static ProtectedPart
getInstance(Object o)
DERObject
toASN1Object()
 ProtectedPart ::= SEQUENCE {
                    header    PKIHeader,
                    body      PKIBody
 }
 

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Method Details

getBody

public PKIBody getBody()

getHeader

public PKIHeader getHeader()

getInstance

public static ProtectedPart getInstance(Object o)

toASN1Object

public DERObject toASN1Object()
 ProtectedPart ::= SEQUENCE {
                    header    PKIHeader,
                    body      PKIBody
 }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.