Class KJUR.asn1.cades.SignaturePolicyId
Extends
KJUR.asn1.ASN1Object.
RFC 5126 CAdES SignaturePolicyId ASN.1 structure class
Defined in: asn1cades-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
RFC 5126 CAdES SignaturePolicyId ASN.1 structure class
This class provides ASN.1 encoder for SignaturePolicyId defined in RFC 5126 CAdES section 5.8.1. |
- 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.cades.SignaturePolicyId(params)
RFC 5126 CAdES SignaturePolicyId ASN.1 structure class
This class provides ASN.1 encoder for SignaturePolicyId defined in RFC 5126 CAdES section 5.8.1.
This class provides ASN.1 encoder for SignaturePolicyId defined in RFC 5126 CAdES section 5.8.1.
SignaturePolicyId ::= SEQUENCE { sigPolicyId SigPolicyId, sigPolicyHash SigPolicyHash, sigPolicyQualifiers SEQUENCE SIZE (1..MAX) OF SigPolicyQualifierInfo OPTIONAL } SigPolicyId ::= OBJECT IDENTIFIER SigPolicyHash ::= OtherHashAlgAndValue OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OtherHashValue } OtherHashValue ::= OCTET STRINGFollowing properties can be apply to constructor arguments adding to KJUR.asn1.cades.OtherHashAlgAndValue constructor:
- {String} oid - signature policy OID string or name (ex. 1.2.3.4)
new KJUR.asn1.cades.SignaturePolicyId({ oid: "1.2.3.4.5", alg: "sha256", hash: "1234abcd..." });
- Parameters:
- {Array} params
- JSON object of parameters
- Since:
- jsrsasign 10.0.0 asn1cades 2.0.0