Top Fields Constructors Methods
org.bouncycastle.asn1.pkcs

public Class ContentInfo

extends ASN1Object
implements PKCSObjectIdentifiers
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .BERSequence, .BERTaggedObject, .DLSequence

Field Summary

Modifier and TypeField and Description
private ASN1Encodable
private ASN1ObjectIdentifier
private boolean

Constructor Summary

AccessConstructor and Description
private
public

Method Summary

Modifier and TypeMethod and Description
public ASN1Encodable
public ASN1ObjectIdentifier
public static ContentInfo
public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

contentback to summary
private ASN1Encodable content
contentTypeback to summary
private ASN1ObjectIdentifier contentType
isBerback to summary
private boolean isBer

Constructor Detail

ContentInfoback to summary
private ContentInfo(ASN1Sequence seq)
ContentInfoback to summary
public ContentInfo(ASN1ObjectIdentifier contentType, ASN1Encodable content)

Method Detail

getContentback to summary
public ASN1Encodable getContent()
getContentTypeback to summary
public ASN1ObjectIdentifier getContentType()
getInstanceback to summary
public static ContentInfo getInstance(Object obj)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

ContentInfo ::= SEQUENCE {
         contentType ContentType,
         content
         [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
Returns:ASN1Primitive

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

a primitive representation of this object.