Class Index | File Index

Classes


Class KJUR.asn1.cades.SignaturePolicyIdentifier


Extends KJUR.asn1.cms.Attribute.
class for RFC 5126 CAdES SignaturePolicyIdentifier attribute
Defined in: asn1cades-1.0.js.

Class Summary
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
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex
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

© 2012-2017 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0