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
SignaturePolicyIdentifier ::= CHOICE { signaturePolicyId SignaturePolicyId, signaturePolicyImplied SignaturePolicyImplied } -- not used SignaturePolicyImplied ::= NULL SignaturePolicyId ::= SEQUENCE { sigPolicyId SigPolicyId, sigPolicyHash SigPolicyHash, sigPolicyQualifiers SEQUENCE SIZE (1. |
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
Class Detail
KJUR.asn1.cades.SignaturePolicyIdentifier(params)
class for RFC 5126 CAdES SignaturePolicyIdentifier attribute
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
var o = new KJUR.asn1.cades.SignaturePolicyIdentifier({ oid: '1.2.3.4.5', hash: {alg: 'sha1', hash: 'a1a2a3a4...'} });
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 4.7.0 asn1cades 1.0.0