Class Index | File Index

Classes


Class KJUR.asn1.cms.SigningTime


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

Class Summary
Constructor Attributes Constructor Name and Description
 
class for CMS SigningTime attribute This is an ASN.1 encoder for ContentType attribute defined in RFC 5652 CMS section 11.3.
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
Class Detail
KJUR.asn1.cms.SigningTime(params)
class for CMS SigningTime attribute This is an ASN.1 encoder for ContentType attribute defined in RFC 5652 CMS section 11.3.
Attribute ::= SEQUENCE {
   type               OBJECT IDENTIFIER,
   values             AttributeSetValue }
AttributeSetValue ::= SET OF ANY
SigningTime  ::= Time
Time ::= CHOICE {
   utcTime UTCTime,
   generalTime GeneralizedTime }
o = new KJUR.asn1.cms.SigningTime(); // current time UTCTime by default
o = new KJUR.asn1.cms.SigningTime({type: 'gen'}); // current time GeneralizedTime
o = new KJUR.asn1.cms.SigningTime({str: '20140517093800Z'}); // specified GeneralizedTime
o = new KJUR.asn1.cms.SigningTime({str: '140517093800Z'}); // specified UTCTime
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 4.2.4 asn1cms 1.0.0

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