Class KJUR.asn1.cades.SignaturePolicyIdentifier
Extends
KJUR.asn1.cms.Attribute.
class for RFC 5126 CAdES SignaturePolicyIdentifier attribute
Defined in: asn1cades-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
class for RFC 5126 CAdES SignaturePolicyIdentifier attribute
This class provides ASN.1 encoder for
SignaturePolicyIdentifier defined in RFC 5126 CAdES section 5.8.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.cades.SignaturePolicyIdentifier(params)
class for RFC 5126 CAdES SignaturePolicyIdentifier attribute
This class provides ASN.1 encoder for
SignaturePolicyIdentifier defined in RFC 5126 CAdES section 5.8.1.
SignaturePolicyIdentifier ::= CHOICE { signaturePolicyId SignaturePolicyId, signaturePolicyImplied SignaturePolicyImplied } -- not used SignaturePolicyImplied ::= NULL SignaturePolicyId ::= SEQUENCE { sigPolicyId SigPolicyId, sigPolicyHash SigPolicyHash, sigPolicyQualifiers SEQUENCE SIZE (1..MAX) OF SigPolicyQualifierInfo OPTIONAL } SigPolicyId ::= OBJECT IDENTIFIER SigPolicyHash ::= OtherHashAlgAndValue
new KJUR.asn1.cades.SignaturePolicyIdentifier({ attr: "signaturePolicyIdentifier", oid: '1.2.3.4.5', alg: 'sha1', hash: 'a1a2a3a4...' })
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 4.7.0 asn1cades 1.0.0