Class Index | File Index

Classes


Class KJUR.asn1.DERAbstractTime


Extends KJUR.asn1.ASN1Object.
base class for ASN.1 DER Generalized/UTCTime class
Defined in: asn1-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
base class for ASN.1 DER Generalized/UTCTime class
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified
Method Summary
Method Attributes Method Name and Description
<static>  
KJUR.asn1.DERAbstractTime.getString()
get string value of this string object
<static>  
KJUR.asn1.DERAbstractTime.setByDateValue(year, month, day, hour, min, sec)
set value by a Date object
<static>  
KJUR.asn1.DERAbstractTime.setString(newS)
set value by a string
Class Detail
KJUR.asn1.DERAbstractTime(params)
base class for ASN.1 DER Generalized/UTCTime class
Parameters:
{Array} params
associative array of parameters (ex. {'str': '130430235959Z'})
See:
KJUR.asn1.ASN1Object - superclass
Method Detail
<static> {String} KJUR.asn1.DERAbstractTime.getString()
get string value of this string object
Returns:
{String} string value of this time object

<static> KJUR.asn1.DERAbstractTime.setByDateValue(year, month, day, hour, min, sec)
set value by a Date object
Parameters:
{Integer} year
year of date (ex. 2013)
{Integer} month
month of date between 1 and 12 (ex. 12)
{Integer} day
day of month
{Integer} hour
hours of date
{Integer} min
minutes of date
{Integer} sec
seconds of date

<static> KJUR.asn1.DERAbstractTime.setString(newS)
set value by a string
Parameters:
{String} newS
value by a string to set such like "130430235959Z"

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