Class KJUR.asn1.cms.ContentInfo
Extends
KJUR.asn1.ASN1Object.
class for ContentInfo ASN.1 structure for CMS
Defined in: asn1cms-1.0.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
KJUR.asn1.cms.ContentInfo(params)
class for ContentInfo ASN.1 structure for CMS
ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType }
ContentType ::= OBJECT IDENTIFIER
|
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified, params
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.cms.ContentInfo(params)
class for ContentInfo ASN.1 structure for CMS
ContentInfo ::= SEQUENCE {
contentType ContentType,
content [0] EXPLICIT ANY DEFINED BY contentType }
ContentType ::= OBJECT IDENTIFIER
a = [new KJUR.asn1.DERInteger({int: 1}),
new KJUR.asn1.DERInteger({int: 2})];
seq = new KJUR.asn1.DERSequence({array: a});
o = new KJUR.asn1.cms.ContentInfo({type: 'data', obj: seq});
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 4.2.4 asn1cms 1.0.0