Class Index | File Index

Classes


Class KJUR.asn1.cms.SigningCertificateV2


Extends KJUR.asn1.cms.Attribute.
class for CMS SigningCertificateV2 attribute
Defined in: asn1cms-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
class for CMS SigningCertificateV2 attribute
oid-signingCertificateV2 = 1.2.840.113549.1.9.16.2.47 
Attribute ::= SEQUENCE {
   type               OBJECT IDENTIFIER,
   values             AttributeSetValue }
AttributeSetValue ::= SET OF ANY
SigningCertificateV2 ::=  SEQUENCE {
   certs        SEQUENCE OF ESSCertIDv2,
   policies     SEQUENCE OF PolicyInformation OPTIONAL }
ESSCertIDv2 ::=  SEQUENCE {
   hashAlgorithm           AlgorithmIdentifier
                           DEFAULT {algorithm id-sha256},
   certHash                Hash,
   issuerSerial            IssuerSerial OPTIONAL }
Hash ::= OCTET STRING
IssuerSerial ::= SEQUENCE {
   issuer                  GeneralNames,
   serialNumber            CertificateSerialNumber }
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified
Class Detail
KJUR.asn1.cms.SigningCertificateV2(params)
class for CMS SigningCertificateV2 attribute
oid-signingCertificateV2 = 1.2.840.113549.1.9.16.2.47 
Attribute ::= SEQUENCE {
   type               OBJECT IDENTIFIER,
   values             AttributeSetValue }
AttributeSetValue ::= SET OF ANY
SigningCertificateV2 ::=  SEQUENCE {
   certs        SEQUENCE OF ESSCertIDv2,
   policies     SEQUENCE OF PolicyInformation OPTIONAL }
ESSCertIDv2 ::=  SEQUENCE {
   hashAlgorithm           AlgorithmIdentifier
                           DEFAULT {algorithm id-sha256},
   certHash                Hash,
   issuerSerial            IssuerSerial OPTIONAL }
Hash ::= OCTET STRING
IssuerSerial ::= SEQUENCE {
   issuer                  GeneralNames,
   serialNumber            CertificateSerialNumber }
// hash algorithm is sha256 by default:
o = new KJUR.asn1.cms.SigningCertificateV2({array: [certPEM]});
o = new KJUR.asn1.cms.SigningCertificateV2({array: [certPEM],
                                            hashAlg: 'sha512'});
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 4.5.1 asn1cms 1.0.1

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