ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL
}
EncapsulatedContentInfo ::= SEQUENCE {
eContentType ContentType,
eContent [0] EXPLICIT OCTET STRING OPTIONAL
}
| Modifier and Type | Field and Description |
|---|---|
| private final ASN1Encodable | |
| private final ASN1ObjectIdentifier | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ASN1Encodable | |
| public ASN1ObjectIdentifier | |
| public static ContentInfo | getInstance(Object
the object we want converted. obj)Return an ContentInfo object from the given object. |
| public static ContentInfo | |
| public boolean | Returns: true if definite-length, false if indefinite.Return true if this object encapsulates a definite-length structure. |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream. |
| content | back to summary |
|---|---|
| private final ASN1Encodable content | |
| contentType | back to summary |
|---|---|
| private final ASN1ObjectIdentifier contentType | |
| isDefiniteLength | back to summary |
|---|---|
| private final boolean isDefiniteLength | |
| ContentInfo | back to summary |
|---|---|
| private ContentInfo(ASN1Sequence seq) | |
| ContentInfo | back to summary |
|---|---|
| public ContentInfo(ASN1ObjectIdentifier contentType, ASN1Encodable content) | |
| getContent | back to summary |
|---|---|
| public ASN1Encodable getContent() | |
| getContentType | back to summary |
|---|---|
| public ASN1ObjectIdentifier getContentType() | |
| getInstance | back to summary |
|---|---|
| public static ContentInfo getInstance(Object obj) Return an ContentInfo object from the given object. Accepted inputs:
| |
| getInstance | back to summary |
|---|---|
| public static ContentInfo getInstance(ASN1TaggedObject obj, boolean explicit) | |
| isDefiniteLength | back to summary |
|---|---|
| public boolean isDefiniteLength() Return true if this object encapsulates a definite-length structure.
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream.
| |