Class KJUR.asn1.cms.SigningTime
Extends
KJUR.asn1.cms.Attribute.
class for CMS SigningTime attribute
Defined in: asn1cms-1.0.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
KJUR.asn1.cms.SigningTime(params)
class for CMS SigningTime attribute
Attribute ::= SEQUENCE {
type OBJECT IDENTIFIER,
values AttributeSetValue }
AttributeSetValue ::= SET OF ANY
SigningTime ::= Time
Time ::= CHOICE {
utcTime UTCTime,
generalTime GeneralizedTime }
|
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
Class Detail
KJUR.asn1.cms.SigningTime(params)
class for CMS SigningTime attribute
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