Top Fields Constructors Methods
org.bouncycastle.asn1.cmp

public Class ProtectedPart

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

Field Summary

Modifier and TypeField and Description
private PKIBody
private PKIHeader

Constructor Summary

AccessConstructor and Description
private
public

Method Summary

Modifier and TypeMethod and Description
public PKIBody
public PKIHeader
public static ProtectedPart
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

ProtectedPart ::= SEQUENCE {
                   header    PKIHeader,
                   body      PKIBody
}
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

bodyback to summary
private PKIBody body

Constructor Detail

ProtectedPartback to summary
private ProtectedPart(ASN1Sequence seq)
ProtectedPartback to summary
public ProtectedPart(PKIHeader header, PKIBody body)

Method Detail

getBodyback to summary
public PKIBody getBody()
getHeaderback to summary
public PKIHeader getHeader()
getInstanceback to summary
public static ProtectedPart getInstance(Object o)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

ProtectedPart ::= SEQUENCE {
                   header    PKIHeader,
                   body      PKIBody
}
Returns:ASN1Primitive

a basic ASN.1 object representation.