Class KJUR.asn1.cms.Attribute
Extends
KJUR.asn1.ASN1Object.
Attribute class for base of CMS attribute
Defined in: asn1cms-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
KJUR.asn1.cms.Attribute(params)
Attribute class for base of CMS attribute
This is an abstract class for CMS attribute ASN.1 encoder as defined in RFC 5652 CMS 5.3 SignerInfo. |
Field Attributes | Field Name and Description |
---|---|
JSON object for ASN.1 encode
|
|
attribute type OID string
|
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
Method Attributes | Method Name and Description |
---|---|
get ASN1Object array for Attributes
This method shall be implemented in subclass. |
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.cms.Attribute(params)
Attribute class for base of CMS attribute
This is an abstract class for CMS attribute ASN.1 encoder as defined in RFC 5652 CMS 5.3 SignerInfo.
This is an abstract class for CMS attribute ASN.1 encoder as defined in RFC 5652 CMS 5.3 SignerInfo.
Attributes ::= SET OF Attribute Attribute ::= SEQUENCE { type OBJECT IDENTIFIER, values AttributeSetValue } AttributeSetValue ::= SET OF ANY
- Parameters:
- {Array} params
- JSON object for constructor
- Since:
- jsrsasign 4.2.4 asn1cms 1.0.0
Field Detail
{Array}
params
JSON object for ASN.1 encode
{String}
typeOid
attribute type OID string
Method Detail
{Array}
getValueArray()
get ASN1Object array for Attributes
This method shall be implemented in subclass.
This method shall be implemented in subclass.
- Returns:
- {Array} array of Attribute value ASN1Object