Class Index | File Index

Classes


Class KJUR.asn1.cms.EncapsulatedContentInfo


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

Class Summary
Constructor Attributes Constructor Name and Description
 
class for EncapsulatedContentInfo ASN.1 structure for CMS
EncapsulatedContentInfo ::= SEQUENCE {
   eContentType ContentType,
   eContent [0] EXPLICIT OCTET STRING OPTIONAL }
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.EncapsulatedContentInfo(params)
class for EncapsulatedContentInfo ASN.1 structure for CMS
EncapsulatedContentInfo ::= SEQUENCE {
   eContentType ContentType,
   eContent [0] EXPLICIT OCTET STRING OPTIONAL }
ContentType ::= OBJECT IDENTIFIER
new KJUR.asn1.cms.EncapsulatedContentInfo({
 type: "data",
 content: {str: "aaa"}
})
new KJUR.asn1.cms.EncapsulatedContentInfo({
 type: "data",
 content: {hex: "616161"}
})
new KJUR.asn1.cms.EncapsulatedContentInfo({
 type: "data",
 content: {hex: "616161"},
 isDetached: true
})
new KJUR.asn1.cms.EncapsulatedContentInfo({
 type: "tstinfo",
 content: ...TSTInfo parameters...
})
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 4.2.4 asn1cms 1.0.0

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