Class Index | File Index

Classes


Class KJUR.asn1.cms.ContentInfo


Extends KJUR.asn1.ASN1Object.
class for ContentInfo ASN.1 structure for CMS
Defined in: asn1cms-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
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
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

© 2012 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0