Class KJUR.asn1.cms.ContentType
Extends
KJUR.asn1.cms.Attribute.
class for CMS ContentType attribute
Defined in: asn1cms-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.cms.ContentType(params)
class for CMS ContentType attribute
This is an ASN.1 encoder for ContentType attribute
defined in
RFC 5652 CMS section 11.1.
|
- Fields borrowed from class KJUR.asn1.cms.Attribute:
- params, typeOid
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
- Methods borrowed from class KJUR.asn1.cms.Attribute:
- getValueArray
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.cms.ContentType(params)
class for CMS ContentType attribute
This is an ASN.1 encoder for ContentType attribute
defined in
RFC 5652 CMS section 11.1.
Attribute ::= SEQUENCE { type OBJECT IDENTIFIER, values AttributeSetValue } AttributeSetValue ::= SET OF ANY ContentType ::= OBJECT IDENTIFIERConstructor may have following property in argument:
- {String}type - name or OID string
o = new KJUR.asn1.cms.ContentType({type: 'data'}); o = new KJUR.asn1.cms.ContentType({type: '1.2.840.113549.1.9.16.1.4'});
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 4.2.4 asn1cms 1.0.0