diff --git a/ChangeLog.txt b/ChangeLog.txt
index 16b6f795..6a66b56e 100755
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,6 +1,28 @@
ChangeLog for jsrsasign
+* Changes between 4.6.0 to 4.7.0 (2014-Jul-07)
+ - RFC 5126 CAdES format supported
+ - CAdES-BES/EPES/T support in this version.
+ - asn1cades (NEW)
+ - asn1tsp 1.0.0 to 1.0.1
+ - AbstractTSAAdapter, Fixed/SimpleTSAAdapter class added
+ - asn1cms 1.0.1 to 1.0.2
+ - SigningCertificate and SigningCertificateV2
+ attributes are added.
+ - IssuerAndSerialNumber class constructor now
+ supports PEM string of certificate.
+ - properties dDigestAlgs and dCerts of SignedData object
+ are added for object preservation.
+ - CMSUtil.newSignedData now supports
+ SigningCertificate/V2 attributes.
+ - asn1
+ - add DEREnumerate class
+ - x509
+ - fix for strict mode
+ - crypto
+ - fix for Signature.signHex/Str
+
* Changes between 4.5.0 to 4.6.0 (2014-May-25)
- RFC 3161 Time Stamp Protocol generator is now supported.
- asn1tsp 1.0.0 (NEW)
diff --git a/README.md b/README.md
index d266d30f..dd842dee 100755
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
jsrsasign
=========
-The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate and CRL
+The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate and CRL, CMS SignedData, RFC 3161 TimeStamp and RFC 5126 CAdES Long Term Signature.
Public page is http://kjur.github.com/jsrsasign .
diff --git a/api/files.html b/api/files.html
index 9efc9d45..4967f3d0 100755
--- a/api/files.html
+++ b/api/files.html
@@ -202,6 +202,22 @@
class for TSP TimeStampReq ASN.1 object
diff --git a/api/symbols/ASN1HEX.html b/api/symbols/ASN1HEX.html
index 3b60b2b5..1ae46182 100755
--- a/api/symbols/ASN1HEX.html
+++ b/api/symbols/ASN1HEX.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/Base64x.html b/api/symbols/Base64x.html
index f582704a..cb7ca6eb 100755
--- a/api/symbols/Base64x.html
+++ b/api/symbols/Base64x.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KEYUTIL.html b/api/symbols/KEYUTIL.html
index ba7987c6..01ddff3a 100755
--- a/api/symbols/KEYUTIL.html
+++ b/api/symbols/KEYUTIL.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.ASN1Object.html b/api/symbols/KJUR.asn1.ASN1Object.html
index 5042dda7..96803393 100755
--- a/api/symbols/KJUR.asn1.ASN1Object.html
+++ b/api/symbols/KJUR.asn1.ASN1Object.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.ASN1Util.html b/api/symbols/KJUR.asn1.ASN1Util.html
index 7b91927b..c2eca80e 100755
--- a/api/symbols/KJUR.asn1.ASN1Util.html
+++ b/api/symbols/KJUR.asn1.ASN1Util.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
@@ -653,6 +677,7 @@
'octstr' - DEROctetString
'null' - DERNull
'oid' - DERObjectIdentifier
+
'enum' - DEREnumerated
'utf8str' - DERUTF8String
'numstr' - DERNumericString
'prnstr' - DERPrintableString
diff --git a/api/symbols/KJUR.asn1.DERAbstractString.html b/api/symbols/KJUR.asn1.DERAbstractString.html
index eb730cd0..019a1e91 100755
--- a/api/symbols/KJUR.asn1.DERAbstractString.html
+++ b/api/symbols/KJUR.asn1.DERAbstractString.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERAbstractStructured.html b/api/symbols/KJUR.asn1.DERAbstractStructured.html
index 0fabe4e4..1ce85de5 100755
--- a/api/symbols/KJUR.asn1.DERAbstractStructured.html
+++ b/api/symbols/KJUR.asn1.DERAbstractStructured.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERAbstractTime.html b/api/symbols/KJUR.asn1.DERAbstractTime.html
index c3c6b6df..90d458f5 100755
--- a/api/symbols/KJUR.asn1.DERAbstractTime.html
+++ b/api/symbols/KJUR.asn1.DERAbstractTime.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERBitString.html b/api/symbols/KJUR.asn1.DERBitString.html
index c6518535..447f703c 100755
--- a/api/symbols/KJUR.asn1.DERBitString.html
+++ b/api/symbols/KJUR.asn1.DERBitString.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERBoolean.html b/api/symbols/KJUR.asn1.DERBoolean.html
index 2d07d451..bdfdf1f9 100755
--- a/api/symbols/KJUR.asn1.DERBoolean.html
+++ b/api/symbols/KJUR.asn1.DERBoolean.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DEREnumerated.html b/api/symbols/KJUR.asn1.DEREnumerated.html
new file mode 100755
index 00000000..36999124
--- /dev/null
+++ b/api/symbols/KJUR.asn1.DEREnumerated.html
@@ -0,0 +1,701 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.DEREnumerated
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class KJUR.asn1.DEREnumerated
+
+
+
+
+
+
Extends
+ KJUR.asn1.ASN1Object.
+
+
+ class for ASN.1 DER Enumerated
+
+
+
Defined in: asn1-1.0.js.
+
+
+
+
+
+
+ Class Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+ class for ASN.1 DER Enumerated
+
+As for argument 'params' for constructor, you can specify one of
+following properties:
+
+- int - specify initial ASN.1 value(V) by integer value
+- hex - specify initial ASN.1 value(V) by a hexadecimal string
+
+NOTE: 'params' can be omitted.
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ - Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
+
+
+
+
+
+
+
+
+
+ Method Summary
+
+
+ Method Attributes |
+ Method Name and Description |
+
+
+
+
+
+ <static> |
+
+
+ set value by Tom Wu's BigInteger object
+ |
+
+
+
+ <static> |
+
+
+ set value by integer value
+ |
+
+
+
+ <static> |
+
+
+ set value by integer value
+
+NOTE: Value shall be represented by minimum octet length of
+two's complement representation.
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Detail
+
+
+
+ KJUR.asn1.DEREnumerated()
+
+
+
+ class for ASN.1 DER Enumerated
+
+As for argument 'params' for constructor, you can specify one of
+following properties:
+
+- int - specify initial ASN.1 value(V) by integer value
+- hex - specify initial ASN.1 value(V) by a hexadecimal string
+
+NOTE: 'params' can be omitted.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Detail
+
+
+
+
<static>
+
+
+ KJUR.asn1.DEREnumerated.setByBigInteger(bigIntegerValue)
+
+
+
+ set value by Tom Wu's BigInteger object
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {BigInteger} bigIntegerValue
+
+
+ - to set
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<static>
+
+
+ KJUR.asn1.DEREnumerated.setByInteger(integer)
+
+
+
+ set value by integer value
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {Integer} integer
+
+
+ - value to set
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<static>
+
+
+ KJUR.asn1.DEREnumerated.setValueHex(hexadecimal)
+
+
+
+ set value by integer value
+
+NOTE: Value shall be represented by minimum octet length of
+two's complement representation.
+
+
+
+
+
+
+
new KJUR.asn1.DEREnumerated(123);
+new KJUR.asn1.DEREnumerated({'int': 123});
+new KJUR.asn1.DEREnumerated({'hex': '1fad'});
+
+
+
+
+
+ - Parameters:
+
+ -
+ {String} hexadecimal
+
+
+ - string of integer value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.DERGeneralizedTime.html b/api/symbols/KJUR.asn1.DERGeneralizedTime.html
index 06bafab4..1fe69d81 100755
--- a/api/symbols/KJUR.asn1.DERGeneralizedTime.html
+++ b/api/symbols/KJUR.asn1.DERGeneralizedTime.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERIA5String.html b/api/symbols/KJUR.asn1.DERIA5String.html
index 5b22f4ce..ef756842 100755
--- a/api/symbols/KJUR.asn1.DERIA5String.html
+++ b/api/symbols/KJUR.asn1.DERIA5String.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERInteger.html b/api/symbols/KJUR.asn1.DERInteger.html
index 7d522f07..4e8df268 100755
--- a/api/symbols/KJUR.asn1.DERInteger.html
+++ b/api/symbols/KJUR.asn1.DERInteger.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERNull.html b/api/symbols/KJUR.asn1.DERNull.html
index 2c4b5b53..ee604bcd 100755
--- a/api/symbols/KJUR.asn1.DERNull.html
+++ b/api/symbols/KJUR.asn1.DERNull.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERNumericString.html b/api/symbols/KJUR.asn1.DERNumericString.html
index 3d058496..f48dba8f 100755
--- a/api/symbols/KJUR.asn1.DERNumericString.html
+++ b/api/symbols/KJUR.asn1.DERNumericString.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERObjectIdentifier.html b/api/symbols/KJUR.asn1.DERObjectIdentifier.html
index 7a1009be..b358d266 100755
--- a/api/symbols/KJUR.asn1.DERObjectIdentifier.html
+++ b/api/symbols/KJUR.asn1.DERObjectIdentifier.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DEROctetString.html b/api/symbols/KJUR.asn1.DEROctetString.html
index 9f5dc4a2..710a3b36 100755
--- a/api/symbols/KJUR.asn1.DEROctetString.html
+++ b/api/symbols/KJUR.asn1.DEROctetString.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERPrintableString.html b/api/symbols/KJUR.asn1.DERPrintableString.html
index 2fedbce7..04f71cb5 100755
--- a/api/symbols/KJUR.asn1.DERPrintableString.html
+++ b/api/symbols/KJUR.asn1.DERPrintableString.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERSequence.html b/api/symbols/KJUR.asn1.DERSequence.html
index 92142eaf..c1434266 100755
--- a/api/symbols/KJUR.asn1.DERSequence.html
+++ b/api/symbols/KJUR.asn1.DERSequence.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERSet.html b/api/symbols/KJUR.asn1.DERSet.html
index f43bbc25..6f0be92d 100755
--- a/api/symbols/KJUR.asn1.DERSet.html
+++ b/api/symbols/KJUR.asn1.DERSet.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERTaggedObject.html b/api/symbols/KJUR.asn1.DERTaggedObject.html
index 1609f4a0..fc9fda27 100755
--- a/api/symbols/KJUR.asn1.DERTaggedObject.html
+++ b/api/symbols/KJUR.asn1.DERTaggedObject.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERTeletexString.html b/api/symbols/KJUR.asn1.DERTeletexString.html
index 0e710f15..1cb0abae 100755
--- a/api/symbols/KJUR.asn1.DERTeletexString.html
+++ b/api/symbols/KJUR.asn1.DERTeletexString.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERUTCTime.html b/api/symbols/KJUR.asn1.DERUTCTime.html
index bd12f2a6..4c41e7b5 100755
--- a/api/symbols/KJUR.asn1.DERUTCTime.html
+++ b/api/symbols/KJUR.asn1.DERUTCTime.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.DERUTF8String.html b/api/symbols/KJUR.asn1.DERUTF8String.html
index e2a8c02d..fc774ce3 100755
--- a/api/symbols/KJUR.asn1.DERUTF8String.html
+++ b/api/symbols/KJUR.asn1.DERUTF8String.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cades.CAdESUtil.html b/api/symbols/KJUR.asn1.cades.CAdESUtil.html
new file mode 100755
index 00000000..1a62b8bd
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.CAdESUtil.html
@@ -0,0 +1,675 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades.CAdESUtil
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class KJUR.asn1.cades.CAdESUtil
+
+
+
+
+
+
+
+ CAdES utilities class
+
+
+
Defined in: asn1cades-1.0.js.
+
+
+
+
+
+
+ Class Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+ CAdES utiliteis class
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Summary
+
+
+ Method Attributes |
+ Method Name and Description |
+
+
+
+
+
+ <static> |
+
+
+ parse CMS SignedData to add unsigned attributes
+This method will parse a hexadecimal string of
+ContentInfo with CMS SignedData to add a attribute
+to unsigned attributes field in a signerInfo field.
+ |
+
+
+
+ <static> |
+
+
+ parse SignerInfo to add unsigned attributes
+This method will parse a hexadecimal string of
+SignerInfo to add a attribute
+to unsigned attributes field in a signerInfo field.
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Detail
+
+
+
+ KJUR.asn1.cades.CAdESUtil()
+
+
+
+ CAdES utiliteis class
+
+
+
+
+
+
+
+
+
+
+ - Since:
+ - jsrsasign 4.7.0 asn1cades 1.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Detail
+
+
+
+
<static>
+
+ {Object}
+ KJUR.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned(hex)
+
+
+
+ parse CMS SignedData to add unsigned attributes
+This method will parse a hexadecimal string of
+ContentInfo with CMS SignedData to add a attribute
+to unsigned attributes field in a signerInfo field.
+Parsed result will be an associative array which has
+following properties:
+
+- version - hex of CMSVersion ASN.1 TLV
+- algs - hex of DigestAlgorithms ASN.1 TLV
+- encapcontent - hex of EncapContentInfo ASN.1 TLV
+- certs - hex of Certificates ASN.1 TLV
+- revs - hex of RevocationInfoChoices ASN.1 TLV
+- si[] - array of SignerInfo properties
+- obj - parsed KJUR.asn1.cms.SignedData object
+
+
+
+
+
+
+
+
info = KJUR.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned(beshex);
+sd = info.obj;
+
+
+
+
+
+ - Parameters:
+
+ -
+ {String} hex
+
+
+ - hexadecimal string of ContentInfo of CMS SignedData
+
+
+
+
+
+
+
+
+ - Returns:
+
+ - {Object} associative array of parsed data
+
+
+
+
+
+
+
+
+
+
<static>
+
+ {Object}
+ KJUR.asn1.cades.CAdESUtil.parseSignerInfoForAddingUnsigned(hex)
+
+
+
+ parse SignerInfo to add unsigned attributes
+This method will parse a hexadecimal string of
+SignerInfo to add a attribute
+to unsigned attributes field in a signerInfo field.
+Parsed result will be an associative array which has
+following properties:
+
+- version - hex TLV of version
+- si - hex TLV of SignerIdentifier
+- digalg - hex TLV of DigestAlgorithm
+- sattrs - hex TLV of SignedAttributes
+- sigalg - hex TLV of SignatureAlgorithm
+- sig - hex TLV of signature
+- sigval = hex V of signature
+- obj - parsed KJUR.asn1.cms.SignerInfo object
+
+NOTE: Parsing of unsigned attributes will be provided in the
+future version. That's way this version provides support
+for CAdES-T and not for CAdES-C.
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {String} hex
+
+
+ - hexadecimal string of SignerInfo
+
+
+
+
+
+
+
+
+ - Returns:
+
+ - {Object} associative array of parsed data
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cades.CompleteCertificateRefs.html b/api/symbols/KJUR.asn1.cades.CompleteCertificateRefs.html
new file mode 100755
index 00000000..2c5a0475
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.CompleteCertificateRefs.html
@@ -0,0 +1,622 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades.CompleteCertificateRefs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class KJUR.asn1.cades.CompleteCertificateRefs
+
+
+
+
+
+
Extends
+ KJUR.asn1.cms.Attribute.
+
+
+ class for RFC 5126 CAdES CompleteCertificateRefs attribute
+
+
+
Defined in: asn1cades-1.0.js.
+
+
+
+
+
+
+ Class Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+ class for RFC 5126 CAdES CompleteCertificateRefs attribute
+
+id-aa-ets-certificateRefs OBJECT IDENTIFIER =
+ 1.2.840.113549.1.9.16.2.21
+CompleteCertificateRefs ::= SEQUENCE OF OtherCertID
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ - Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
+
+
+
+
+
+
+
+
+
+ Method Summary
+
+
+ Method Attributes |
+ Method Name and Description |
+
+
+
+
+
+ <static> |
+
+ KJUR.asn1.cades.CompleteCertificateRefs. setByArray(a)
+
+ set value by array
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Detail
+
+
+
+ KJUR.asn1.cades.CompleteCertificateRefs(params)
+
+
+
+ class for RFC 5126 CAdES CompleteCertificateRefs attribute
+
+id-aa-ets-certificateRefs OBJECT IDENTIFIER =
+ 1.2.840.113549.1.9.16.2.21
+CompleteCertificateRefs ::= SEQUENCE OF OtherCertID
+
+
+
+
+
+
+
o = new KJUR.asn1.cades.CompleteCertificateRefs([certPEM1,certPEM2]);
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {Array} params
+
+
+ - associative array of parameters
+
+
+
+
+
+
+ - Since:
+ - jsrsasign 4.7.0 asn1cades 1.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Detail
+
+
+
+
<static>
+
+
+ KJUR.asn1.cades.CompleteCertificateRefs.setByArray(a)
+
+
+
+ set value by array
+
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {Array} a
+
+
+ - array of KJUR.asn1.cades.OtherCertID argument
+
+
+
+
+
+
+
+
+ - Returns:
+
+ - unspecified
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cades.OtherCertID.html b/api/symbols/KJUR.asn1.cades.OtherCertID.html
new file mode 100755
index 00000000..1fc7a45d
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.OtherCertID.html
@@ -0,0 +1,625 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades.OtherCertID
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class KJUR.asn1.cades.OtherCertID
+
+
+
+
+
+
Extends
+ KJUR.asn1.ASN1Object.
+
+
+ class for OtherCertID ASN.1 object
+
+
+
Defined in: asn1cades-1.0.js.
+
+
+
+
+
+
+ Class Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+ class for OtherCertID ASN.1 object
+
+OtherCertID ::= SEQUENCE {
+ otherCertHash OtherHash,
+ issuerSerial IssuerSerial OPTIONAL }
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ - Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
+
+
+
+
+
+
+
+
+
+ Method Summary
+
+
+ Method Attributes |
+ Method Name and Description |
+
+
+
+
+
+ <static> |
+
+
+ set value by PEM string of certificate
+This method will set value by a PEM string of a certificate.
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Detail
+
+
+
+ KJUR.asn1.cades.OtherCertID(params)
+
+
+
+ class for OtherCertID ASN.1 object
+
+OtherCertID ::= SEQUENCE {
+ otherCertHash OtherHash,
+ issuerSerial IssuerSerial OPTIONAL }
+
+
+
+
+
+
+
o = new KJUR.asn1.cades.OtherCertID(certPEM);
+o = new KJUR.asn1.cades.OtherCertID({cert:certPEM, hasis: false});
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {Array} params
+
+
+ - associative array of parameters
+
+
+
+
+
+
+ - Since:
+ - jsrsasign 4.7.0 asn1cades 1.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Detail
+
+
+
+
<static>
+
+
+ KJUR.asn1.cades.OtherCertID.setByCertPEM(certPEM)
+
+
+
+ set value by PEM string of certificate
+This method will set value by a PEM string of a certificate.
+This will add IssuerAndSerialNumber by default
+which depends on hasIssuerSerial flag.
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {String} certPEM
+
+
+ - PEM string of certificate
+
+
+
+
+
+
+
+
+ - Returns:
+
+ - unspecified
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cades.OtherHash.html b/api/symbols/KJUR.asn1.cades.OtherHash.html
new file mode 100755
index 00000000..c3974477
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.OtherHash.html
@@ -0,0 +1,630 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades.OtherHash
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class KJUR.asn1.cades.OtherHash
+
+
+
+
+
+
Extends
+ KJUR.asn1.ASN1Object.
+
+
+ class for OtherHash ASN.1 object
+
+
+
Defined in: asn1cades-1.0.js.
+
+
+
+
+
+
+ Class Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+ class for OtherHash ASN.1 object
+
+OtherHash ::= CHOICE {
+ sha1Hash OtherHashValue, -- This contains a SHA-1 hash
+ otherHash OtherHashAlgAndValue}
+OtherHashValue ::= OCTET STRING
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ - Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
+
+
+
+
+
+
+
+
+
+ Method Summary
+
+
+ Method Attributes |
+ Method Name and Description |
+
+
+
+
+
+ <static> |
+
+
+ set value by PEM string of certificate
+This method will set value by a PEM string of a certificate.
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Detail
+
+
+
+ KJUR.asn1.cades.OtherHash(params)
+
+
+
+ class for OtherHash ASN.1 object
+
+OtherHash ::= CHOICE {
+ sha1Hash OtherHashValue, -- This contains a SHA-1 hash
+ otherHash OtherHashAlgAndValue}
+OtherHashValue ::= OCTET STRING
+
+
+
+
+
+
+
o = new KJUR.asn1.cades.OtherHash("1234");
+o = new KJUR.asn1.cades.OtherHash(certPEMStr); // default alg=sha256
+o = new KJUR.asn1.cades.OtherHash({alg: 'sha256', hash: '1234'});
+o = new KJUR.asn1.cades.OtherHash({alg: 'sha256', cert: certPEM});
+o = new KJUR.asn1.cades.OtherHash({cert: certPEM});
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {Array} params
+
+
+ - associative array of parameters
+
+
+
+
+
+
+ - Since:
+ - jsrsasign 4.7.0 asn1cades 1.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Detail
+
+
+
+
<static>
+
+
+ KJUR.asn1.cades.OtherHash.setByCertPEM(certPEM)
+
+
+
+ set value by PEM string of certificate
+This method will set value by a PEM string of a certificate.
+An algorithm used to hash certificate data will
+be defined by 'alg' property and 'sha256' is default.
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {String} certPEM
+
+
+ - PEM string of certificate
+
+
+
+
+
+
+
+
+ - Returns:
+
+ - unspecified
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cades.OtherHashAlgAndValue.html b/api/symbols/KJUR.asn1.cades.OtherHashAlgAndValue.html
new file mode 100755
index 00000000..25e99854
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.OtherHashAlgAndValue.html
@@ -0,0 +1,539 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades.OtherHashAlgAndValue
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class KJUR.asn1.cades.OtherHashAlgAndValue
+
+
+
+
+
+
Extends
+ KJUR.asn1.ASN1Object.
+
+
+ class for OtherHashAlgAndValue ASN.1 object
+
+
+
Defined in: asn1cades-1.0.js.
+
+
+
+
+
+
+ Class Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+ class for OtherHashAlgAndValue ASN.1 object
+
+OtherHashAlgAndValue ::= SEQUENCE {
+ hashAlgorithm AlgorithmIdentifier,
+ hashValue OtherHashValue }
+OtherHashValue ::= OCTET STRING
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ - Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Detail
+
+
+
+ KJUR.asn1.cades.OtherHashAlgAndValue(params)
+
+
+
+ class for OtherHashAlgAndValue ASN.1 object
+
+OtherHashAlgAndValue ::= SEQUENCE {
+ hashAlgorithm AlgorithmIdentifier,
+ hashValue OtherHashValue }
+OtherHashValue ::= OCTET STRING
+
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {Array} params
+
+
+ - associative array of parameters
+
+
+
+
+
+
+ - Since:
+ - jsrsasign 4.7.0 asn1cades 1.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cades.SignaturePolicyIdentifier.html b/api/symbols/KJUR.asn1.cades.SignaturePolicyIdentifier.html
new file mode 100755
index 00000000..7b664b63
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.SignaturePolicyIdentifier.html
@@ -0,0 +1,558 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cades.SignatureTimeStamp.html b/api/symbols/KJUR.asn1.cades.SignatureTimeStamp.html
new file mode 100755
index 00000000..9314f83e
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.SignatureTimeStamp.html
@@ -0,0 +1,537 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades.SignatureTimeStamp
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class KJUR.asn1.cades.SignatureTimeStamp
+
+
+
+
+
+
Extends
+ KJUR.asn1.cms.Attribute.
+
+
+ class for RFC 5126 CAdES SignatureTimeStamp attribute
+
+
+
Defined in: asn1cades-1.0.js.
+
+
+
+
+
+
+ Class Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+ class for RFC 5126 CAdES SignatureTimeStamp attribute
+
+id-aa-signatureTimeStampToken OBJECT IDENTIFIER ::=
+ 1.2.840.113549.1.9.16.2.14
+SignatureTimeStampToken ::= TimeStampToken
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ - Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Class Detail
+
+
+
+ KJUR.asn1.cades.SignatureTimeStamp(params)
+
+
+
+ class for RFC 5126 CAdES SignatureTimeStamp attribute
+
+id-aa-signatureTimeStampToken OBJECT IDENTIFIER ::=
+ 1.2.840.113549.1.9.16.2.14
+SignatureTimeStampToken ::= TimeStampToken
+
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ {Array} params
+
+
+ - associative array of parameters
+
+
+
+
+
+
+ - Since:
+ - jsrsasign 4.7.0 asn1cades 1.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cades.html b/api/symbols/KJUR.asn1.cades.html
new file mode 100755
index 00000000..fcce371a
--- /dev/null
+++ b/api/symbols/KJUR.asn1.cades.html
@@ -0,0 +1,742 @@
+
+
+
+
+
+
+
jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.cades
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Namespace KJUR.asn1.cades
+
+
+
+
+
+
+
+
+
+
+
Defined in: asn1cades-1.0.js.
+
+
+
+
+
+
+ Namespace Summary
+
+
+ Constructor Attributes |
+ Constructor Name and Description |
+
+
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Summary
+
+
+ Method Attributes |
+ Method Name and Description |
+
+
+
+
+
+ <static> |
+
+ KJUR.asn1.cades.getEncodedHex()
+
+
+ |
+
+
+
+ <static> |
+
+ KJUR.asn1.cades.setByCertPEM(certPEM)
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Namespace Detail
+
+
+
+ KJUR.asn1.cades
+
+
+
+ kjur's ASN.1 class for RFC 5126 CAdES long term signature
+
+This name space provides
+RFC 5126
+CAdES(CMS Advanced Electronic Signature) generator.
+
+
SUPPORTED FORMATS
+Following CAdES formats is supported by this library.
+
+- CAdES-BES - CAdES Basic Electronic Signature
+- CAdES-EPES - CAdES Explicit Policy-based Electronic Signature
+- CAdES-T - Electronic Signature with Time
+
+
+
+
PROVIDED ATTRIBUTE CLASSES
+
+NOTE: Currntly CAdES-C is not supported since parser can't
+handle unsigned attribute.
+
+
OTHER CLASSES
+
+
+
GENERATE CAdES-BES
+To generate CAdES-BES, KJUR.asn.cades namespace
+classes are not required and already KJUR.asn.cms namespace
+provides attributes for CAdES-BES.
+Create
KJUR.asn1.cms.SignedData with following
+mandatory attribute in CAdES-BES:
+
+CMSUtil.newSignedData method is very useful to generate CAdES-BES.
+
+sd = KJUR.asn1.cms.CMSUtil.newSignedData({
+ content: {str: "aaa"},
+ certs: [certPEM],
+ signerInfos: [{
+ hashAlg: 'sha256',
+ sAttr: {SigningCertificateV2: {array: [certPEM]}},
+ signerCert: certPEM,
+ sigAlg: 'SHA256withRSA',
+ signerPrvKey: pkcs8PrvKeyPEM
+ }]
+});
+signedDataHex = sd.getContentInfoEncodedHex();
+
+NOTE: ContentType and MessageDigest signed attributes
+are automatically added by default.
+
+
GENERATE CAdES-BES with multiple signers
+If you need signature by multiple signers, you can
+specify one or more items in 'signerInfos' property as below.
+
+sd = KJUR.asn1.cms.CMSUtil.newSignedData({
+ content: {str: "aaa"},
+ certs: [certPEM1, certPEM2],
+ signerInfos: [{
+ hashAlg: 'sha256',
+ sAttr: {SigningCertificateV2: {array: [certPEM1]}},
+ signerCert: certPEM1,
+ sigAlg: 'SHA256withRSA',
+ signerPrvKey: pkcs8PrvKeyPEM1
+ },{
+ hashAlg: 'sha1',
+ sAttr: {SigningCertificateV2: {array: [certPEM2]}},
+ signerCert: certPEM2,
+ sigAlg: 'SHA1withRSA',
+ signerPrvKey: pkcs8PrvKeyPEM2
+ }]
+});
+signedDataHex = sd.getContentInfoEncodedHex();
+
+
+
GENERATE CAdES-EPES
+When you need a CAdES-EPES signature,
+you just need to add 'SignaturePolicyIdentifier'
+attribute as below.
+
+sd = KJUR.asn1.cms.CMSUtil.newSignedData({
+ content: {str: "aaa"},
+ certs: [certPEM],
+ signerInfos: [{
+ hashAlg: 'sha256',
+ sAttr: {
+ SigningCertificateV2: {array: [certPEM]},
+ SignaturePolicyIdentifier: {
+ oid: '1.2.3.4.5',
+ hash: {alg: 'sha1', hash: 'b1b2b3b4b...'}
+ },
+ },
+ signerCert: certPEM,
+ sigAlg: 'SHA256withRSA',
+ signerPrvKey: pkcs8PrvKeyPEM
+ }]
+});
+signedDataHex = sd.getContentInfoEncodedHex();
+
+
+
GENERATE CAdES-T
+After a signed CAdES-BES or CAdES-EPES signature have been generated,
+you can generate CAdES-T by adding SigningTimeStamp unsigned attribute.
+
+beshex = "30..."; // hex of CAdES-BES or EPES data
+info = KJUR.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned(beshex);
+// You can refer a hexadecimal string of signature value
+// in the first signerInfo in the CAdES-BES/EPES with a variable:
+// 'info.si[0].sigval'. You need to get RFC 3161 TimeStampToken
+// from a trusted time stamp authority. Otherwise you can also
+// get it by 'KJUR.asn1.tsp' module. We suppose that we could
+// get proper time stamp.
+tsthex0 = "30..."; // hex of TimeStampToken for signerInfo[0] sigval
+si0 = info.obj.signerInfoList[0];
+si0.addUnsigned(new KJUR.asn1.cades.SignatureTimeStamp({tst: tsthex0});
+esthex = info.obj.getContentInfoEncodedHex(); // CAdES-T
+
+
+
+
SAMPLE CODES
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Method Detail
+
+
+
+
<static>
+
+
+ KJUR.asn1.cades.getEncodedHex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<static>
+
+
+ KJUR.asn1.cades.setByCertPEM(certPEM)
+
+
+
+
+
+
+
+
+
+
+
+
+ - Parameters:
+
+ -
+ certPEM
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ © 2012 Kenji Urushima, All rights reserved
+
+ Documentation generated by
JsDoc Toolkit 2.4.0
+
+
+
diff --git a/api/symbols/KJUR.asn1.cms.Attribute.html b/api/symbols/KJUR.asn1.cms.Attribute.html
index c37ce955..18734b04 100755
--- a/api/symbols/KJUR.asn1.cms.Attribute.html
+++ b/api/symbols/KJUR.asn1.cms.Attribute.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.AttributeList.html b/api/symbols/KJUR.asn1.cms.AttributeList.html
index 74898e3e..131e5389 100755
--- a/api/symbols/KJUR.asn1.cms.AttributeList.html
+++ b/api/symbols/KJUR.asn1.cms.AttributeList.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.CMSUtil.html b/api/symbols/KJUR.asn1.cms.CMSUtil.html
index e110c2ec..c5116ce1 100755
--- a/api/symbols/KJUR.asn1.cms.CMSUtil.html
+++ b/api/symbols/KJUR.asn1.cms.CMSUtil.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
@@ -515,6 +539,7 @@
hashAlg: 'sha256',
sAttr: {
SigningTime: {}
+ SigningCertificateV2: {array: [certPEM]},
},
signerCert: certPEM,
sigAlg: 'SHA256withRSA',
diff --git a/api/symbols/KJUR.asn1.cms.ContentInfo.html b/api/symbols/KJUR.asn1.cms.ContentInfo.html
index 631357e0..acdfbcdd 100755
--- a/api/symbols/KJUR.asn1.cms.ContentInfo.html
+++ b/api/symbols/KJUR.asn1.cms.ContentInfo.html
@@ -207,6 +207,22 @@ Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.ContentType.html b/api/symbols/KJUR.asn1.cms.ContentType.html
index fb385c3b..594d93ab 100755
--- a/api/symbols/KJUR.asn1.cms.ContentType.html
+++ b/api/symbols/KJUR.asn1.cms.ContentType.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.EncapsulatedContentInfo.html b/api/symbols/KJUR.asn1.cms.EncapsulatedContentInfo.html
index c6d90c7f..afb4bfaf 100755
--- a/api/symbols/KJUR.asn1.cms.EncapsulatedContentInfo.html
+++ b/api/symbols/KJUR.asn1.cms.EncapsulatedContentInfo.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.IssuerAndSerialNumber.html b/api/symbols/KJUR.asn1.cms.IssuerAndSerialNumber.html
index dfcb10eb..6b65e584 100755
--- a/api/symbols/KJUR.asn1.cms.IssuerAndSerialNumber.html
+++ b/api/symbols/KJUR.asn1.cms.IssuerAndSerialNumber.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
@@ -468,7 +492,8 @@
o = new KJUR.asn1.cms.IssuerAndSerialNumber(
{issuer: {str: '/C=US/O=T1'}, serial {int: 3}});
// specify by PEM certificate
-o = new KJUR.asn1.cms.IssuerAndSerialNumber({cert: certPEM});
+o = new KJUR.asn1.cms.IssuerAndSerialNumber({cert: certPEM});
+o = new KJUR.asn1.cms.IssuerAndSerialNumber(certPEM); // since 1.0.3
diff --git a/api/symbols/KJUR.asn1.cms.MessageDigest.html b/api/symbols/KJUR.asn1.cms.MessageDigest.html
index b8e8ebac..ab2c0d49 100755
--- a/api/symbols/KJUR.asn1.cms.MessageDigest.html
+++ b/api/symbols/KJUR.asn1.cms.MessageDigest.html
@@ -207,6 +207,22 @@ Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.SignedData.html b/api/symbols/KJUR.asn1.cms.SignedData.html
index 1ad3facc..6bf8ebab 100755
--- a/api/symbols/KJUR.asn1.cms.SignedData.html
+++ b/api/symbols/KJUR.asn1.cms.SignedData.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.SignerInfo.html b/api/symbols/KJUR.asn1.cms.SignerInfo.html
index b4a5531e..574d4fa6 100755
--- a/api/symbols/KJUR.asn1.cms.SignerInfo.html
+++ b/api/symbols/KJUR.asn1.cms.SignerInfo.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.SigningCertificate.html b/api/symbols/KJUR.asn1.cms.SigningCertificate.html
index b3203d83..4c2ad9f8 100755
--- a/api/symbols/KJUR.asn1.cms.SigningCertificate.html
+++ b/api/symbols/KJUR.asn1.cms.SigningCertificate.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.SigningCertificateV2.html b/api/symbols/KJUR.asn1.cms.SigningCertificateV2.html
index 27f482f8..4a689183 100755
--- a/api/symbols/KJUR.asn1.cms.SigningCertificateV2.html
+++ b/api/symbols/KJUR.asn1.cms.SigningCertificateV2.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.SigningTime.html b/api/symbols/KJUR.asn1.cms.SigningTime.html
index 2dd04dc3..05e3fb1b 100755
--- a/api/symbols/KJUR.asn1.cms.SigningTime.html
+++ b/api/symbols/KJUR.asn1.cms.SigningTime.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.cms.html b/api/symbols/KJUR.asn1.cms.html
index e067dcd7..ee3d6874 100755
--- a/api/symbols/KJUR.asn1.cms.html
+++ b/api/symbols/KJUR.asn1.cms.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
@@ -509,6 +533,8 @@
PROVIDED CLASSES
KJUR.asn1.cms.ContentType
KJUR.asn1.cms.MessageDigest
KJUR.asn1.cms.SigningTime
+
KJUR.asn1.cms.SigningCertificate
+
KJUR.asn1.cms.SigningCertificateV2
NOTE: Please ignore method summary and document of this namespace.
This caused by a bug of jsdoc2.
diff --git a/api/symbols/KJUR.asn1.html b/api/symbols/KJUR.asn1.html
index 9098ddaf..de4215f3 100755
--- a/api/symbols/KJUR.asn1.html
+++ b/api/symbols/KJUR.asn1.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
@@ -460,6 +484,15 @@
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.AttributeTypeAndValue.html b/api/symbols/KJUR.asn1.x509.AttributeTypeAndValue.html
index be6aa9bd..50e97a51 100755
--- a/api/symbols/KJUR.asn1.x509.AttributeTypeAndValue.html
+++ b/api/symbols/KJUR.asn1.x509.AttributeTypeAndValue.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html b/api/symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html
index c14ac5c6..aa889a8f 100755
--- a/api/symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html
+++ b/api/symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.BasicConstraints.html b/api/symbols/KJUR.asn1.x509.BasicConstraints.html
index c991350d..d33584ce 100755
--- a/api/symbols/KJUR.asn1.x509.BasicConstraints.html
+++ b/api/symbols/KJUR.asn1.x509.BasicConstraints.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.CRL.html b/api/symbols/KJUR.asn1.x509.CRL.html
index 80b197f2..15e904ab 100755
--- a/api/symbols/KJUR.asn1.x509.CRL.html
+++ b/api/symbols/KJUR.asn1.x509.CRL.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.CRLDistributionPoints.html b/api/symbols/KJUR.asn1.x509.CRLDistributionPoints.html
index a1a6ab5e..41aaabee 100755
--- a/api/symbols/KJUR.asn1.x509.CRLDistributionPoints.html
+++ b/api/symbols/KJUR.asn1.x509.CRLDistributionPoints.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.CRLEntry.html b/api/symbols/KJUR.asn1.x509.CRLEntry.html
index fa7b3d00..ed9681aa 100755
--- a/api/symbols/KJUR.asn1.x509.CRLEntry.html
+++ b/api/symbols/KJUR.asn1.x509.CRLEntry.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.Certificate.html b/api/symbols/KJUR.asn1.x509.Certificate.html
index 042ced97..df89b43c 100755
--- a/api/symbols/KJUR.asn1.x509.Certificate.html
+++ b/api/symbols/KJUR.asn1.x509.Certificate.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.DistributionPoint.html b/api/symbols/KJUR.asn1.x509.DistributionPoint.html
index 8bf7e584..db404fee 100755
--- a/api/symbols/KJUR.asn1.x509.DistributionPoint.html
+++ b/api/symbols/KJUR.asn1.x509.DistributionPoint.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.DistributionPointName.html b/api/symbols/KJUR.asn1.x509.DistributionPointName.html
index 52a52625..85850999 100755
--- a/api/symbols/KJUR.asn1.x509.DistributionPointName.html
+++ b/api/symbols/KJUR.asn1.x509.DistributionPointName.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.ExtKeyUsage.html b/api/symbols/KJUR.asn1.x509.ExtKeyUsage.html
index fc0a958b..e5a28c1a 100755
--- a/api/symbols/KJUR.asn1.x509.ExtKeyUsage.html
+++ b/api/symbols/KJUR.asn1.x509.ExtKeyUsage.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.Extension.html b/api/symbols/KJUR.asn1.x509.Extension.html
index d89d8660..090d0403 100755
--- a/api/symbols/KJUR.asn1.x509.Extension.html
+++ b/api/symbols/KJUR.asn1.x509.Extension.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.GeneralName.html b/api/symbols/KJUR.asn1.x509.GeneralName.html
index ce2fc491..d48dec74 100755
--- a/api/symbols/KJUR.asn1.x509.GeneralName.html
+++ b/api/symbols/KJUR.asn1.x509.GeneralName.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.GeneralNames.html b/api/symbols/KJUR.asn1.x509.GeneralNames.html
index 87c0ca12..9cf1a3b7 100755
--- a/api/symbols/KJUR.asn1.x509.GeneralNames.html
+++ b/api/symbols/KJUR.asn1.x509.GeneralNames.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.KeyUsage.html b/api/symbols/KJUR.asn1.x509.KeyUsage.html
index 5e6f6389..3a8ad1f8 100755
--- a/api/symbols/KJUR.asn1.x509.KeyUsage.html
+++ b/api/symbols/KJUR.asn1.x509.KeyUsage.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.OID.html b/api/symbols/KJUR.asn1.x509.OID.html
index bf63ac11..d64cccbc 100755
--- a/api/symbols/KJUR.asn1.x509.OID.html
+++ b/api/symbols/KJUR.asn1.x509.OID.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.RDN.html b/api/symbols/KJUR.asn1.x509.RDN.html
index b1e8d124..c863aaba 100755
--- a/api/symbols/KJUR.asn1.x509.RDN.html
+++ b/api/symbols/KJUR.asn1.x509.RDN.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.SubjectPublicKeyInfo.html b/api/symbols/KJUR.asn1.x509.SubjectPublicKeyInfo.html
index 335fda12..d70f438a 100755
--- a/api/symbols/KJUR.asn1.x509.SubjectPublicKeyInfo.html
+++ b/api/symbols/KJUR.asn1.x509.SubjectPublicKeyInfo.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.TBSCertList.html b/api/symbols/KJUR.asn1.x509.TBSCertList.html
index 36554d73..ccdc3618 100755
--- a/api/symbols/KJUR.asn1.x509.TBSCertList.html
+++ b/api/symbols/KJUR.asn1.x509.TBSCertList.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.TBSCertificate.html b/api/symbols/KJUR.asn1.x509.TBSCertificate.html
index 30347c8c..3bd498f0 100755
--- a/api/symbols/KJUR.asn1.x509.TBSCertificate.html
+++ b/api/symbols/KJUR.asn1.x509.TBSCertificate.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.Time.html b/api/symbols/KJUR.asn1.x509.Time.html
index ec17f79e..4a9b858e 100755
--- a/api/symbols/KJUR.asn1.x509.Time.html
+++ b/api/symbols/KJUR.asn1.x509.Time.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.X500Name.html b/api/symbols/KJUR.asn1.x509.X500Name.html
index 46920f1f..f7606c5f 100755
--- a/api/symbols/KJUR.asn1.x509.X500Name.html
+++ b/api/symbols/KJUR.asn1.x509.X500Name.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.X509Util.html b/api/symbols/KJUR.asn1.x509.X509Util.html
index fe841fe2..6f942dca 100755
--- a/api/symbols/KJUR.asn1.x509.X509Util.html
+++ b/api/symbols/KJUR.asn1.x509.X509Util.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.asn1.x509.html b/api/symbols/KJUR.asn1.x509.html
index d50f533b..0a038e0f 100755
--- a/api/symbols/KJUR.asn1.x509.html
+++ b/api/symbols/KJUR.asn1.x509.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.DSA.html b/api/symbols/KJUR.crypto.DSA.html
index 4d3ec2b8..c5667e29 100755
--- a/api/symbols/KJUR.crypto.DSA.html
+++ b/api/symbols/KJUR.crypto.DSA.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.ECDSA.html b/api/symbols/KJUR.crypto.ECDSA.html
index 952a1d9c..55a009de 100755
--- a/api/symbols/KJUR.crypto.ECDSA.html
+++ b/api/symbols/KJUR.crypto.ECDSA.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.ECParameterDB.html b/api/symbols/KJUR.crypto.ECParameterDB.html
index 78934668..49fc9300 100755
--- a/api/symbols/KJUR.crypto.ECParameterDB.html
+++ b/api/symbols/KJUR.crypto.ECParameterDB.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.Mac.html b/api/symbols/KJUR.crypto.Mac.html
index 12580b7f..f905e133 100755
--- a/api/symbols/KJUR.crypto.Mac.html
+++ b/api/symbols/KJUR.crypto.Mac.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.MessageDigest.html b/api/symbols/KJUR.crypto.MessageDigest.html
index ccca65e3..f17bf09f 100755
--- a/api/symbols/KJUR.crypto.MessageDigest.html
+++ b/api/symbols/KJUR.crypto.MessageDigest.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.OID.html b/api/symbols/KJUR.crypto.OID.html
index 48c5bbee..58adb9ea 100755
--- a/api/symbols/KJUR.crypto.OID.html
+++ b/api/symbols/KJUR.crypto.OID.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.Signature.html b/api/symbols/KJUR.crypto.Signature.html
index 69a754ae..cdef3a12 100755
--- a/api/symbols/KJUR.crypto.Signature.html
+++ b/api/symbols/KJUR.crypto.Signature.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.Util.html b/api/symbols/KJUR.crypto.Util.html
index ef7caa70..b188f6d9 100755
--- a/api/symbols/KJUR.crypto.Util.html
+++ b/api/symbols/KJUR.crypto.Util.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.crypto.html b/api/symbols/KJUR.crypto.html
index 71cadec5..475b1269 100755
--- a/api/symbols/KJUR.crypto.html
+++ b/api/symbols/KJUR.crypto.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/KJUR.html b/api/symbols/KJUR.html
index 2fdb8245..14301430 100755
--- a/api/symbols/KJUR.html
+++ b/api/symbols/KJUR.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/PKCS5PKEY.html b/api/symbols/PKCS5PKEY.html
index f59a7b10..bda9bd91 100755
--- a/api/symbols/PKCS5PKEY.html
+++ b/api/symbols/PKCS5PKEY.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/RSAKey.html b/api/symbols/RSAKey.html
index 82a8452a..199b72bb 100755
--- a/api/symbols/RSAKey.html
+++ b/api/symbols/RSAKey.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/X509.html b/api/symbols/X509.html
index b063b97d..8f5b6593 100755
--- a/api/symbols/X509.html
+++ b/api/symbols/X509.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/global__.html b/api/symbols/global__.html
index 56e4876a..7503c04a 100755
--- a/api/symbols/global__.html
+++ b/api/symbols/global__.html
@@ -207,6 +207,22 @@
Classes
KJUR.asn1.ASN1Util
+
KJUR.asn1.cades
+
+
KJUR.asn1.cades.CAdESUtil
+
+
KJUR.asn1.cades.CompleteCertificateRefs
+
+
KJUR.asn1.cades.OtherCertID
+
+
KJUR.asn1.cades.OtherHash
+
+
KJUR.asn1.cades.OtherHashAlgAndValue
+
+
KJUR.asn1.cades.SignaturePolicyIdentifier
+
+
KJUR.asn1.cades.SignatureTimeStamp
+
KJUR.asn1.cms
KJUR.asn1.cms.Attribute
@@ -245,6 +261,8 @@
Classes
KJUR.asn1.DERBoolean
+
KJUR.asn1.DEREnumerated
+
KJUR.asn1.DERGeneralizedTime
KJUR.asn1.DERIA5String
@@ -275,8 +293,12 @@
Classes
KJUR.asn1.tsp
+
KJUR.asn1.tsp.AbstractTSAAdapter
+
KJUR.asn1.tsp.Accuracy
+
KJUR.asn1.tsp.FixedTSAAdapter
+
KJUR.asn1.tsp.MessageImprint
KJUR.asn1.tsp.PKIFailureInfo
@@ -287,6 +309,8 @@
Classes
KJUR.asn1.tsp.PKIStatusInfo
+
KJUR.asn1.tsp.SimpleTSAAdapter
+
KJUR.asn1.tsp.TimeStampReq
KJUR.asn1.tsp.TimeStampResp
diff --git a/api/symbols/src/asn1-1.0.js.html b/api/symbols/src/asn1-1.0.js.html
index 723f972a..d31041f0 100755
--- a/api/symbols/src/asn1-1.0.js.html
+++ b/api/symbols/src/asn1-1.0.js.html
@@ -62,1321 +62,1404 @@
55 * <li>0x04 {@link KJUR.asn1.DEROctetString}</li>
56 * <li>0x05 {@link KJUR.asn1.DERNull}</li>
57 * <li>0x06 {@link KJUR.asn1.DERObjectIdentifier}</li>
-
58 * <li>0x0c {@link KJUR.asn1.DERUTF8String}</li>
-
59 * <li>0x12 {@link KJUR.asn1.DERNumericString}</li>
-
60 * <li>0x13 {@link KJUR.asn1.DERPrintableString}</li>
-
61 * <li>0x14 {@link KJUR.asn1.DERTeletexString}</li>
-
62 * <li>0x16 {@link KJUR.asn1.DERIA5String}</li>
-
63 * <li>0x17 {@link KJUR.asn1.DERUTCTime}</li>
-
64 * <li>0x18 {@link KJUR.asn1.DERGeneralizedTime}</li>
-
65 * <li>0x30 {@link KJUR.asn1.DERSequence}</li>
-
66 * <li>0x31 {@link KJUR.asn1.DERSet}</li>
-
67 * </ul>
-
68 *
-
69 * <h4>OTHER ASN.1 CLASSES</h4>
-
70 * <ul>
-
71 * <li>{@link KJUR.asn1.ASN1Object}</li>
-
72 * <li>{@link KJUR.asn1.DERAbstractString}</li>
-
73 * <li>{@link KJUR.asn1.DERAbstractTime}</li>
-
74 * <li>{@link KJUR.asn1.DERAbstractStructured}</li>
-
75 * <li>{@link KJUR.asn1.DERTaggedObject}</li>
-
76 * </ul>
-
77 * </p>
-
78 * NOTE: Please ignore method summary and document of this namespace.
-
79 * This caused by a bug of jsdoc2.
-
80 * @name KJUR.asn1
-
81 * @namespace
-
82 */
- 83 if (typeof KJUR.asn1 == "undefined" || !KJUR.asn1) KJUR.asn1 = {};
- 84
- 85 /**
- 86 * ASN1 utilities class
- 87 * @name KJUR.asn1.ASN1Util
- 88 * @class ASN1 utilities class
- 89 * @since asn1 1.0.2
- 90 */
- 91 KJUR.asn1.ASN1Util = new function() {
- 92 this.integerToByteHex = function(i) {
- 93 var h = i.toString(16);
- 94 if ((h.length % 2) == 1) h = '0' + h;
- 95 return h;
- 96 };
- 97 this.bigIntToMinTwosComplementsHex = function(bigIntegerValue) {
- 98 var h = bigIntegerValue.toString(16);
- 99 if (h.substr(0, 1) != '-') {
-100 if (h.length % 2 == 1) {
-101 h = '0' + h;
-102 } else {
-103 if (! h.match(/^[0-7]/)) {
-104 h = '00' + h;
-105 }
-106 }
-107 } else {
-108 var hPos = h.substr(1);
-109 var xorLen = hPos.length;
-110 if (xorLen % 2 == 1) {
-111 xorLen += 1;
-112 } else {
-113 if (! h.match(/^[0-7]/)) {
-114 xorLen += 2;
-115 }
-116 }
-117 var hMask = '';
-118 for (var i = 0; i < xorLen; i++) {
-119 hMask += 'f';
-120 }
-121 var biMask = new BigInteger(hMask, 16);
-122 var biNeg = biMask.xor(bigIntegerValue).add(BigInteger.ONE);
-123 h = biNeg.toString(16).replace(/^-/, '');
-124 }
-125 return h;
-126 };
-127 /**
-128 * get PEM string from hexadecimal data and header string
-129 * @name getPEMStringFromHex
-130 * @memberOf KJUR.asn1.ASN1Util
-131 * @function
-132 * @param {String} dataHex hexadecimal string of PEM body
-133 * @param {String} pemHeader PEM header string (ex. 'RSA PRIVATE KEY')
-134 * @return {String} PEM formatted string of input data
-135 * @description
-136 * @example
-137 * var pem = KJUR.asn1.ASN1Util.getPEMStringFromHex('616161', 'RSA PRIVATE KEY');
-138 * // value of pem will be:
-139 * -----BEGIN PRIVATE KEY-----
-140 * YWFh
-141 * -----END PRIVATE KEY-----
-142 */
-143 this.getPEMStringFromHex = function(dataHex, pemHeader) {
-144 var ns1 = KJUR.asn1;
-145 var dataWA = CryptoJS.enc.Hex.parse(dataHex);
-146 var dataB64 = CryptoJS.enc.Base64.stringify(dataWA);
-147 var pemBody = dataB64.replace(/(.{64})/g, "$1\r\n");
-148 pemBody = pemBody.replace(/\r\n$/, '');
-149 return "-----BEGIN " + pemHeader + "-----\r\n" +
-150 pemBody +
-151 "\r\n-----END " + pemHeader + "-----\r\n";
-152 };
-153
-154 /**
-155 * generate ASN1Object specifed by JSON parameters
-156 * @name newObject
-157 * @memberOf KJUR.asn1.ASN1Util
-158 * @function
-159 * @param {Array} param JSON parameter to generate ASN1Object
-160 * @return {KJUR.asn1.ASN1Object} generated object
-161 * @since asn1 1.0.3
-162 * @description
-163 * generate any ASN1Object specified by JSON param
-164 * including ASN.1 primitive or structured.
-165 * Generally 'param' can be described as follows:
-166 * <blockquote>
-167 * {TYPE-OF-ASNOBJ: ASN1OBJ-PARAMETER}
-168 * </blockquote>
-169 * 'TYPE-OF-ASN1OBJ' can be one of following symbols:
-170 * <ul>
-171 * <li>'bool' - DERBoolean</li>
-172 * <li>'int' - DERInteger</li>
-173 * <li>'bitstr' - DERBitString</li>
-174 * <li>'octstr' - DEROctetString</li>
-175 * <li>'null' - DERNull</li>
-176 * <li>'oid' - DERObjectIdentifier</li>
-177 * <li>'utf8str' - DERUTF8String</li>
-178 * <li>'numstr' - DERNumericString</li>
-179 * <li>'prnstr' - DERPrintableString</li>
-180 * <li>'telstr' - DERTeletexString</li>
-181 * <li>'ia5str' - DERIA5String</li>
-182 * <li>'utctime' - DERUTCTime</li>
-183 * <li>'gentime' - DERGeneralizedTime</li>
-184 * <li>'seq' - DERSequence</li>
-185 * <li>'set' - DERSet</li>
-186 * <li>'tag' - DERTaggedObject</li>
-187 * </ul>
-188 * @example
-189 * newObject({'prnstr': 'aaa'});
-190 * newObject({'seq': [{'int': 3}, {'prnstr': 'aaa'}]})
-191 * // ASN.1 Tagged Object
-192 * newObject({'tag': {'tag': 'a1',
-193 * 'explicit': true,
-194 * 'obj': {'seq': [{'int': 3}, {'prnstr': 'aaa'}]}}});
-195 * // more simple representation of ASN.1 Tagged Object
-196 * newObject({'tag': ['a1',
-197 * true,
-198 * {'seq': [
-199 * {'int': 3},
-200 * {'prnstr': 'aaa'}]}
-201 * ]});
-202 */
-203 this.newObject = function(param) {
-204 var ns1 = KJUR.asn1;
-205 var keys = Object.keys(param);
-206 if (keys.length != 1)
-207 throw "key of param shall be only one.";
-208 var key = keys[0];
-209
-210 if (":bool:int:bitstr:octstr:null:oid:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + key + ":") == -1)
-211 throw "undefined key: " + key;
-212
-213 if (key == "bool") return new ns1.DERBoolean(param[key]);
-214 if (key == "int") return new ns1.DERInteger(param[key]);
-215 if (key == "bitstr") return new ns1.DERBitString(param[key]);
-216 if (key == "octstr") return new ns1.DEROctetString(param[key]);
-217 if (key == "null") return new ns1.DERNull(param[key]);
-218 if (key == "oid") return new ns1.DERObjectIdentifier(param[key]);
-219 if (key == "utf8str") return new ns1.DERUTF8String(param[key]);
-220 if (key == "numstr") return new ns1.DERNumericString(param[key]);
-221 if (key == "prnstr") return new ns1.DERPrintableString(param[key]);
-222 if (key == "telstr") return new ns1.DERTeletexString(param[key]);
-223 if (key == "ia5str") return new ns1.DERIA5String(param[key]);
-224 if (key == "utctime") return new ns1.DERUTCTime(param[key]);
-225 if (key == "gentime") return new ns1.DERGeneralizedTime(param[key]);
-226
-227 if (key == "seq") {
-228 var paramList = param[key];
-229 var a = [];
-230 for (var i = 0; i < paramList.length; i++) {
-231 var asn1Obj = ns1.ASN1Util.newObject(paramList[i]);
-232 a.push(asn1Obj);
-233 }
-234 return new ns1.DERSequence({'array': a});
-235 }
-236
-237 if (key == "set") {
-238 var paramList = param[key];
-239 var a = [];
-240 for (var i = 0; i < paramList.length; i++) {
-241 var asn1Obj = ns1.ASN1Util.newObject(paramList[i]);
-242 a.push(asn1Obj);
-243 }
-244 return new ns1.DERSet({'array': a});
-245 }
-246
-247 if (key == "tag") {
-248 var tagParam = param[key];
-249 if (Object.prototype.toString.call(tagParam) === '[object Array]' &&
-250 tagParam.length == 3) {
-251 var obj = ns1.ASN1Util.newObject(tagParam[2]);
-252 return new ns1.DERTaggedObject({tag: tagParam[0], explicit: tagParam[1], obj: obj});
-253 } else {
-254 var newParam = {};
-255 if (tagParam.explicit !== undefined)
-256 newParam.explicit = tagParam.explicit;
-257 if (tagParam.tag !== undefined)
-258 newParam.tag = tagParam.tag;
-259 if (tagParam.obj === undefined)
-260 throw "obj shall be specified for 'tag'.";
-261 newParam.obj = ns1.ASN1Util.newObject(tagParam.obj);
-262 return new ns1.DERTaggedObject(newParam);
-263 }
-264 }
-265 };
-266
-267 /**
-268 * get encoded hexadecimal string of ASN1Object specifed by JSON parameters
-269 * @name jsonToASN1HEX
-270 * @memberOf KJUR.asn1.ASN1Util
-271 * @function
-272 * @param {Array} param JSON parameter to generate ASN1Object
-273 * @return hexadecimal string of ASN1Object
-274 * @since asn1 1.0.4
-275 * @description
-276 * As for ASN.1 object representation of JSON object,
-277 * please see {@link newObject}.
-278 * @example
-279 * jsonToASN1HEX({'prnstr': 'aaa'});
-280 */
-281 this.jsonToASN1HEX = function(param) {
-282 var asn1Obj = this.newObject(param);
-283 return asn1Obj.getEncodedHex();
-284 };
-285 };
-286
-287 // ********************************************************************
-288 // Abstract ASN.1 Classes
-289 // ********************************************************************
-290
-291 // ********************************************************************
-292
-293 /**
-294 * base class for ASN.1 DER encoder object
-295 * @name KJUR.asn1.ASN1Object
-296 * @class base class for ASN.1 DER encoder object
-297 * @property {Boolean} isModified flag whether internal data was changed
-298 * @property {String} hTLV hexadecimal string of ASN.1 TLV
-299 * @property {String} hT hexadecimal string of ASN.1 TLV tag(T)
-300 * @property {String} hL hexadecimal string of ASN.1 TLV length(L)
-301 * @property {String} hV hexadecimal string of ASN.1 TLV value(V)
-302 * @description
-303 */
-304 KJUR.asn1.ASN1Object = function() {
-305 var isModified = true;
-306 var hTLV = null;
-307 var hT = '00';
-308 var hL = '00';
-309 var hV = '';
-310
-311 /**
-312 * get hexadecimal ASN.1 TLV length(L) bytes from TLV value(V)
-313 * @name getLengthHexFromValue
-314 * @memberOf KJUR.asn1.ASN1Object
-315 * @function
-316 * @return {String} hexadecimal string of ASN.1 TLV length(L)
-317 */
-318 this.getLengthHexFromValue = function() {
-319 if (typeof this.hV == "undefined" || this.hV == null) {
-320 throw "this.hV is null or undefined.";
-321 }
-322 if (this.hV.length % 2 == 1) {
-323 throw "value hex must be even length: n=" + hV.length + ",v=" + this.hV;
+ 58 * <li>0x0a {@link KJUR.asn1.DEREnumerated}</li>
+ 59 * <li>0x0c {@link KJUR.asn1.DERUTF8String}</li>
+ 60 * <li>0x12 {@link KJUR.asn1.DERNumericString}</li>
+ 61 * <li>0x13 {@link KJUR.asn1.DERPrintableString}</li>
+ 62 * <li>0x14 {@link KJUR.asn1.DERTeletexString}</li>
+ 63 * <li>0x16 {@link KJUR.asn1.DERIA5String}</li>
+ 64 * <li>0x17 {@link KJUR.asn1.DERUTCTime}</li>
+ 65 * <li>0x18 {@link KJUR.asn1.DERGeneralizedTime}</li>
+ 66 * <li>0x30 {@link KJUR.asn1.DERSequence}</li>
+ 67 * <li>0x31 {@link KJUR.asn1.DERSet}</li>
+ 68 * </ul>
+ 69 *
+ 70 * <h4>OTHER ASN.1 CLASSES</h4>
+ 71 * <ul>
+ 72 * <li>{@link KJUR.asn1.ASN1Object}</li>
+ 73 * <li>{@link KJUR.asn1.DERAbstractString}</li>
+ 74 * <li>{@link KJUR.asn1.DERAbstractTime}</li>
+ 75 * <li>{@link KJUR.asn1.DERAbstractStructured}</li>
+ 76 * <li>{@link KJUR.asn1.DERTaggedObject}</li>
+ 77 * </ul>
+ 78 * </p>
+ 79 * NOTE: Please ignore method summary and document of this namespace.
+ 80 * This caused by a bug of jsdoc2.
+ 81 * @name KJUR.asn1
+ 82 * @namespace
+ 83 */
+ 84 if (typeof KJUR.asn1 == "undefined" || !KJUR.asn1) KJUR.asn1 = {};
+ 85
+ 86 /**
+ 87 * ASN1 utilities class
+ 88 * @name KJUR.asn1.ASN1Util
+ 89 * @class ASN1 utilities class
+ 90 * @since asn1 1.0.2
+ 91 */
+ 92 KJUR.asn1.ASN1Util = new function() {
+ 93 this.integerToByteHex = function(i) {
+ 94 var h = i.toString(16);
+ 95 if ((h.length % 2) == 1) h = '0' + h;
+ 96 return h;
+ 97 };
+ 98 this.bigIntToMinTwosComplementsHex = function(bigIntegerValue) {
+ 99 var h = bigIntegerValue.toString(16);
+100 if (h.substr(0, 1) != '-') {
+101 if (h.length % 2 == 1) {
+102 h = '0' + h;
+103 } else {
+104 if (! h.match(/^[0-7]/)) {
+105 h = '00' + h;
+106 }
+107 }
+108 } else {
+109 var hPos = h.substr(1);
+110 var xorLen = hPos.length;
+111 if (xorLen % 2 == 1) {
+112 xorLen += 1;
+113 } else {
+114 if (! h.match(/^[0-7]/)) {
+115 xorLen += 2;
+116 }
+117 }
+118 var hMask = '';
+119 for (var i = 0; i < xorLen; i++) {
+120 hMask += 'f';
+121 }
+122 var biMask = new BigInteger(hMask, 16);
+123 var biNeg = biMask.xor(bigIntegerValue).add(BigInteger.ONE);
+124 h = biNeg.toString(16).replace(/^-/, '');
+125 }
+126 return h;
+127 };
+128 /**
+129 * get PEM string from hexadecimal data and header string
+130 * @name getPEMStringFromHex
+131 * @memberOf KJUR.asn1.ASN1Util
+132 * @function
+133 * @param {String} dataHex hexadecimal string of PEM body
+134 * @param {String} pemHeader PEM header string (ex. 'RSA PRIVATE KEY')
+135 * @return {String} PEM formatted string of input data
+136 * @description
+137 * @example
+138 * var pem = KJUR.asn1.ASN1Util.getPEMStringFromHex('616161', 'RSA PRIVATE KEY');
+139 * // value of pem will be:
+140 * -----BEGIN PRIVATE KEY-----
+141 * YWFh
+142 * -----END PRIVATE KEY-----
+143 */
+144 this.getPEMStringFromHex = function(dataHex, pemHeader) {
+145 var ns1 = KJUR.asn1;
+146 var dataWA = CryptoJS.enc.Hex.parse(dataHex);
+147 var dataB64 = CryptoJS.enc.Base64.stringify(dataWA);
+148 var pemBody = dataB64.replace(/(.{64})/g, "$1\r\n");
+149 pemBody = pemBody.replace(/\r\n$/, '');
+150 return "-----BEGIN " + pemHeader + "-----\r\n" +
+151 pemBody +
+152 "\r\n-----END " + pemHeader + "-----\r\n";
+153 };
+154
+155 /**
+156 * generate ASN1Object specifed by JSON parameters
+157 * @name newObject
+158 * @memberOf KJUR.asn1.ASN1Util
+159 * @function
+160 * @param {Array} param JSON parameter to generate ASN1Object
+161 * @return {KJUR.asn1.ASN1Object} generated object
+162 * @since asn1 1.0.3
+163 * @description
+164 * generate any ASN1Object specified by JSON param
+165 * including ASN.1 primitive or structured.
+166 * Generally 'param' can be described as follows:
+167 * <blockquote>
+168 * {TYPE-OF-ASNOBJ: ASN1OBJ-PARAMETER}
+169 * </blockquote>
+170 * 'TYPE-OF-ASN1OBJ' can be one of following symbols:
+171 * <ul>
+172 * <li>'bool' - DERBoolean</li>
+173 * <li>'int' - DERInteger</li>
+174 * <li>'bitstr' - DERBitString</li>
+175 * <li>'octstr' - DEROctetString</li>
+176 * <li>'null' - DERNull</li>
+177 * <li>'oid' - DERObjectIdentifier</li>
+178 * <li>'enum' - DEREnumerated</li>
+179 * <li>'utf8str' - DERUTF8String</li>
+180 * <li>'numstr' - DERNumericString</li>
+181 * <li>'prnstr' - DERPrintableString</li>
+182 * <li>'telstr' - DERTeletexString</li>
+183 * <li>'ia5str' - DERIA5String</li>
+184 * <li>'utctime' - DERUTCTime</li>
+185 * <li>'gentime' - DERGeneralizedTime</li>
+186 * <li>'seq' - DERSequence</li>
+187 * <li>'set' - DERSet</li>
+188 * <li>'tag' - DERTaggedObject</li>
+189 * </ul>
+190 * @example
+191 * newObject({'prnstr': 'aaa'});
+192 * newObject({'seq': [{'int': 3}, {'prnstr': 'aaa'}]})
+193 * // ASN.1 Tagged Object
+194 * newObject({'tag': {'tag': 'a1',
+195 * 'explicit': true,
+196 * 'obj': {'seq': [{'int': 3}, {'prnstr': 'aaa'}]}}});
+197 * // more simple representation of ASN.1 Tagged Object
+198 * newObject({'tag': ['a1',
+199 * true,
+200 * {'seq': [
+201 * {'int': 3},
+202 * {'prnstr': 'aaa'}]}
+203 * ]});
+204 */
+205 this.newObject = function(param) {
+206 var ns1 = KJUR.asn1;
+207 var keys = Object.keys(param);
+208 if (keys.length != 1)
+209 throw "key of param shall be only one.";
+210 var key = keys[0];
+211
+212 if (":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + key + ":") == -1)
+213 throw "undefined key: " + key;
+214
+215 if (key == "bool") return new ns1.DERBoolean(param[key]);
+216 if (key == "int") return new ns1.DERInteger(param[key]);
+217 if (key == "bitstr") return new ns1.DERBitString(param[key]);
+218 if (key == "octstr") return new ns1.DEROctetString(param[key]);
+219 if (key == "null") return new ns1.DERNull(param[key]);
+220 if (key == "oid") return new ns1.DERObjectIdentifier(param[key]);
+221 if (key == "enum") return new ns1.DEREnumerated(param[key]);
+222 if (key == "utf8str") return new ns1.DERUTF8String(param[key]);
+223 if (key == "numstr") return new ns1.DERNumericString(param[key]);
+224 if (key == "prnstr") return new ns1.DERPrintableString(param[key]);
+225 if (key == "telstr") return new ns1.DERTeletexString(param[key]);
+226 if (key == "ia5str") return new ns1.DERIA5String(param[key]);
+227 if (key == "utctime") return new ns1.DERUTCTime(param[key]);
+228 if (key == "gentime") return new ns1.DERGeneralizedTime(param[key]);
+229
+230 if (key == "seq") {
+231 var paramList = param[key];
+232 var a = [];
+233 for (var i = 0; i < paramList.length; i++) {
+234 var asn1Obj = ns1.ASN1Util.newObject(paramList[i]);
+235 a.push(asn1Obj);
+236 }
+237 return new ns1.DERSequence({'array': a});
+238 }
+239
+240 if (key == "set") {
+241 var paramList = param[key];
+242 var a = [];
+243 for (var i = 0; i < paramList.length; i++) {
+244 var asn1Obj = ns1.ASN1Util.newObject(paramList[i]);
+245 a.push(asn1Obj);
+246 }
+247 return new ns1.DERSet({'array': a});
+248 }
+249
+250 if (key == "tag") {
+251 var tagParam = param[key];
+252 if (Object.prototype.toString.call(tagParam) === '[object Array]' &&
+253 tagParam.length == 3) {
+254 var obj = ns1.ASN1Util.newObject(tagParam[2]);
+255 return new ns1.DERTaggedObject({tag: tagParam[0], explicit: tagParam[1], obj: obj});
+256 } else {
+257 var newParam = {};
+258 if (tagParam.explicit !== undefined)
+259 newParam.explicit = tagParam.explicit;
+260 if (tagParam.tag !== undefined)
+261 newParam.tag = tagParam.tag;
+262 if (tagParam.obj === undefined)
+263 throw "obj shall be specified for 'tag'.";
+264 newParam.obj = ns1.ASN1Util.newObject(tagParam.obj);
+265 return new ns1.DERTaggedObject(newParam);
+266 }
+267 }
+268 };
+269
+270 /**
+271 * get encoded hexadecimal string of ASN1Object specifed by JSON parameters
+272 * @name jsonToASN1HEX
+273 * @memberOf KJUR.asn1.ASN1Util
+274 * @function
+275 * @param {Array} param JSON parameter to generate ASN1Object
+276 * @return hexadecimal string of ASN1Object
+277 * @since asn1 1.0.4
+278 * @description
+279 * As for ASN.1 object representation of JSON object,
+280 * please see {@link newObject}.
+281 * @example
+282 * jsonToASN1HEX({'prnstr': 'aaa'});
+283 */
+284 this.jsonToASN1HEX = function(param) {
+285 var asn1Obj = this.newObject(param);
+286 return asn1Obj.getEncodedHex();
+287 };
+288 };
+289
+290 // ********************************************************************
+291 // Abstract ASN.1 Classes
+292 // ********************************************************************
+293
+294 // ********************************************************************
+295
+296 /**
+297 * base class for ASN.1 DER encoder object
+298 * @name KJUR.asn1.ASN1Object
+299 * @class base class for ASN.1 DER encoder object
+300 * @property {Boolean} isModified flag whether internal data was changed
+301 * @property {String} hTLV hexadecimal string of ASN.1 TLV
+302 * @property {String} hT hexadecimal string of ASN.1 TLV tag(T)
+303 * @property {String} hL hexadecimal string of ASN.1 TLV length(L)
+304 * @property {String} hV hexadecimal string of ASN.1 TLV value(V)
+305 * @description
+306 */
+307 KJUR.asn1.ASN1Object = function() {
+308 var isModified = true;
+309 var hTLV = null;
+310 var hT = '00';
+311 var hL = '00';
+312 var hV = '';
+313
+314 /**
+315 * get hexadecimal ASN.1 TLV length(L) bytes from TLV value(V)
+316 * @name getLengthHexFromValue
+317 * @memberOf KJUR.asn1.ASN1Object
+318 * @function
+319 * @return {String} hexadecimal string of ASN.1 TLV length(L)
+320 */
+321 this.getLengthHexFromValue = function() {
+322 if (typeof this.hV == "undefined" || this.hV == null) {
+323 throw "this.hV is null or undefined.";
324 }
-325 var n = this.hV.length / 2;
-326 var hN = n.toString(16);
-327 if (hN.length % 2 == 1) {
-328 hN = "0" + hN;
-329 }
-330 if (n < 128) {
-331 return hN;
-332 } else {
-333 var hNlen = hN.length / 2;
-334 if (hNlen > 15) {
-335 throw "ASN.1 length too long to represent by 8x: n = " + n.toString(16);
-336 }
-337 var head = 128 + hNlen;
-338 return head.toString(16) + hN;
-339 }
-340 };
-341
-342 /**
-343 * get hexadecimal string of ASN.1 TLV bytes
-344 * @name getEncodedHex
-345 * @memberOf KJUR.asn1.ASN1Object
-346 * @function
-347 * @return {String} hexadecimal string of ASN.1 TLV
-348 */
-349 this.getEncodedHex = function() {
-350 if (this.hTLV == null || this.isModified) {
-351 this.hV = this.getFreshValueHex();
-352 this.hL = this.getLengthHexFromValue();
-353 this.hTLV = this.hT + this.hL + this.hV;
-354 this.isModified = false;
-355 //alert("first time: " + this.hTLV);
-356 }
-357 return this.hTLV;
-358 };
-359
-360 /**
-361 * get hexadecimal string of ASN.1 TLV value(V) bytes
-362 * @name getValueHex
-363 * @memberOf KJUR.asn1.ASN1Object
-364 * @function
-365 * @return {String} hexadecimal string of ASN.1 TLV value(V) bytes
-366 */
-367 this.getValueHex = function() {
-368 this.getEncodedHex();
-369 return this.hV;
-370 }
-371
-372 this.getFreshValueHex = function() {
-373 return '';
-374 };
-375 };
-376
-377 // == BEGIN DERAbstractString ================================================
-378 /**
-379 * base class for ASN.1 DER string classes
-380 * @name KJUR.asn1.DERAbstractString
-381 * @class base class for ASN.1 DER string classes
-382 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
-383 * @property {String} s internal string of value
-384 * @extends KJUR.asn1.ASN1Object
-385 * @description
-386 * <br/>
-387 * As for argument 'params' for constructor, you can specify one of
-388 * following properties:
-389 * <ul>
-390 * <li>str - specify initial ASN.1 value(V) by a string</li>
-391 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
-392 * </ul>
-393 * NOTE: 'params' can be omitted.
-394 */
-395 KJUR.asn1.DERAbstractString = function(params) {
-396 KJUR.asn1.DERAbstractString.superclass.constructor.call(this);
-397 var s = null;
-398 var hV = null;
-399
-400 /**
-401 * get string value of this string object
-402 * @name getString
-403 * @memberOf KJUR.asn1.DERAbstractString
-404 * @function
-405 * @return {String} string value of this string object
-406 */
-407 this.getString = function() {
-408 return this.s;
-409 };
-410
-411 /**
-412 * set value by a string
-413 * @name setString
-414 * @memberOf KJUR.asn1.DERAbstractString
-415 * @function
-416 * @param {String} newS value by a string to set
-417 */
-418 this.setString = function(newS) {
-419 this.hTLV = null;
-420 this.isModified = true;
-421 this.s = newS;
-422 this.hV = stohex(this.s);
-423 };
-424
-425 /**
-426 * set value by a hexadecimal string
-427 * @name setStringHex
-428 * @memberOf KJUR.asn1.DERAbstractString
-429 * @function
-430 * @param {String} newHexString value by a hexadecimal string to set
-431 */
-432 this.setStringHex = function(newHexString) {
-433 this.hTLV = null;
-434 this.isModified = true;
-435 this.s = null;
-436 this.hV = newHexString;
-437 };
-438
-439 this.getFreshValueHex = function() {
-440 return this.hV;
-441 };
-442
-443 if (typeof params != "undefined") {
-444 if (typeof params == "string") {
-445 this.setString(params);
-446 } else if (typeof params['str'] != "undefined") {
-447 this.setString(params['str']);
-448 } else if (typeof params['hex'] != "undefined") {
-449 this.setStringHex(params['hex']);
-450 }
-451 }
-452 };
-453 YAHOO.lang.extend(KJUR.asn1.DERAbstractString, KJUR.asn1.ASN1Object);
-454 // == END DERAbstractString ================================================
-455
-456 // == BEGIN DERAbstractTime ==================================================
-457 /**
-458 * base class for ASN.1 DER Generalized/UTCTime class
-459 * @name KJUR.asn1.DERAbstractTime
-460 * @class base class for ASN.1 DER Generalized/UTCTime class
-461 * @param {Array} params associative array of parameters (ex. {'str': '130430235959Z'})
-462 * @extends KJUR.asn1.ASN1Object
-463 * @description
-464 * @see KJUR.asn1.ASN1Object - superclass
-465 */
-466 KJUR.asn1.DERAbstractTime = function(params) {
-467 KJUR.asn1.DERAbstractTime.superclass.constructor.call(this);
-468 var s = null;
-469 var date = null;
-470
-471 // --- PRIVATE METHODS --------------------
-472 this.localDateToUTC = function(d) {
-473 utc = d.getTime() + (d.getTimezoneOffset() * 60000);
-474 var utcDate = new Date(utc);
-475 return utcDate;
-476 };
-477
-478 /*
-479 * format date string by Data object
-480 * @name formatDate
-481 * @memberOf KJUR.asn1.AbstractTime;
-482 * @param {Date} dateObject
-483 * @param {string} type 'utc' or 'gen'
-484 * @param {boolean} withMillis flag for with millisections or not
-485 * @description
-486 * 'withMillis' flag is supported from asn1 1.0.6.
-487 */
-488 this.formatDate = function(dateObject, type, withMillis) {
-489 var pad = this.zeroPadding;
-490 var d = this.localDateToUTC(dateObject);
-491 var year = String(d.getFullYear());
-492 if (type == 'utc') year = year.substr(2, 2);
-493 var month = pad(String(d.getMonth() + 1), 2);
-494 var day = pad(String(d.getDate()), 2);
-495 var hour = pad(String(d.getHours()), 2);
-496 var min = pad(String(d.getMinutes()), 2);
-497 var sec = pad(String(d.getSeconds()), 2);
-498 var s = year + month + day + hour + min + sec;
-499 if (withMillis === true) {
-500 var millis = d.getMilliseconds();
-501 if (millis != 0) {
-502 var sMillis = pad(String(millis), 3);
-503 sMillis = sMillis.replace(/[0]+$/, "");
-504 s = s + "." + sMillis;
-505 }
-506 }
-507 return s + "Z";
-508 };
-509
-510 this.zeroPadding = function(s, len) {
-511 if (s.length >= len) return s;
-512 return new Array(len - s.length + 1).join('0') + s;
-513 };
-514
-515 // --- PUBLIC METHODS --------------------
-516 /**
-517 * get string value of this string object
-518 * @name getString
-519 * @memberOf KJUR.asn1.DERAbstractTime
-520 * @function
-521 * @return {String} string value of this time object
-522 */
-523 this.getString = function() {
-524 return this.s;
-525 };
-526
-527 /**
-528 * set value by a string
-529 * @name setString
-530 * @memberOf KJUR.asn1.DERAbstractTime
-531 * @function
-532 * @param {String} newS value by a string to set such like "130430235959Z"
-533 */
-534 this.setString = function(newS) {
-535 this.hTLV = null;
-536 this.isModified = true;
-537 this.s = newS;
-538 this.hV = stohex(newS);
-539 };
-540
-541 /**
-542 * set value by a Date object
-543 * @name setByDateValue
-544 * @memberOf KJUR.asn1.DERAbstractTime
-545 * @function
-546 * @param {Integer} year year of date (ex. 2013)
-547 * @param {Integer} month month of date between 1 and 12 (ex. 12)
-548 * @param {Integer} day day of month
-549 * @param {Integer} hour hours of date
-550 * @param {Integer} min minutes of date
-551 * @param {Integer} sec seconds of date
-552 */
-553 this.setByDateValue = function(year, month, day, hour, min, sec) {
-554 var dateObject = new Date(Date.UTC(year, month - 1, day, hour, min, sec, 0));
-555 this.setByDate(dateObject);
-556 };
-557
-558 this.getFreshValueHex = function() {
-559 return this.hV;
-560 };
-561 };
-562 YAHOO.lang.extend(KJUR.asn1.DERAbstractTime, KJUR.asn1.ASN1Object);
-563 // == END DERAbstractTime ==================================================
-564
-565 // == BEGIN DERAbstractStructured ============================================
-566 /**
-567 * base class for ASN.1 DER structured class
-568 * @name KJUR.asn1.DERAbstractStructured
-569 * @class base class for ASN.1 DER structured class
-570 * @property {Array} asn1Array internal array of ASN1Object
-571 * @extends KJUR.asn1.ASN1Object
-572 * @description
-573 * @see KJUR.asn1.ASN1Object - superclass
-574 */
-575 KJUR.asn1.DERAbstractStructured = function(params) {
-576 KJUR.asn1.DERAbstractString.superclass.constructor.call(this);
-577 var asn1Array = null;
-578
-579 /**
-580 * set value by array of ASN1Object
-581 * @name setByASN1ObjectArray
-582 * @memberOf KJUR.asn1.DERAbstractStructured
-583 * @function
-584 * @param {array} asn1ObjectArray array of ASN1Object to set
-585 */
-586 this.setByASN1ObjectArray = function(asn1ObjectArray) {
-587 this.hTLV = null;
-588 this.isModified = true;
-589 this.asn1Array = asn1ObjectArray;
-590 };
-591
-592 /**
-593 * append an ASN1Object to internal array
-594 * @name appendASN1Object
-595 * @memberOf KJUR.asn1.DERAbstractStructured
-596 * @function
-597 * @param {ASN1Object} asn1Object to add
-598 */
-599 this.appendASN1Object = function(asn1Object) {
-600 this.hTLV = null;
-601 this.isModified = true;
-602 this.asn1Array.push(asn1Object);
-603 };
-604
-605 this.asn1Array = new Array();
-606 if (typeof params != "undefined") {
-607 if (typeof params['array'] != "undefined") {
-608 this.asn1Array = params['array'];
-609 }
-610 }
-611 };
-612 YAHOO.lang.extend(KJUR.asn1.DERAbstractStructured, KJUR.asn1.ASN1Object);
-613
-614
-615 // ********************************************************************
-616 // ASN.1 Object Classes
-617 // ********************************************************************
-618
-619 // ********************************************************************
-620 /**
-621 * class for ASN.1 DER Boolean
-622 * @name KJUR.asn1.DERBoolean
-623 * @class class for ASN.1 DER Boolean
-624 * @extends KJUR.asn1.ASN1Object
-625 * @description
-626 * @see KJUR.asn1.ASN1Object - superclass
-627 */
-628 KJUR.asn1.DERBoolean = function() {
-629 KJUR.asn1.DERBoolean.superclass.constructor.call(this);
-630 this.hT = "01";
-631 this.hTLV = "0101ff";
-632 };
-633 YAHOO.lang.extend(KJUR.asn1.DERBoolean, KJUR.asn1.ASN1Object);
-634
-635 // ********************************************************************
-636 /**
-637 * class for ASN.1 DER Integer
-638 * @name KJUR.asn1.DERInteger
-639 * @class class for ASN.1 DER Integer
-640 * @extends KJUR.asn1.ASN1Object
-641 * @description
-642 * <br/>
-643 * As for argument 'params' for constructor, you can specify one of
-644 * following properties:
-645 * <ul>
-646 * <li>int - specify initial ASN.1 value(V) by integer value</li>
-647 * <li>bigint - specify initial ASN.1 value(V) by BigInteger object</li>
-648 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
-649 * </ul>
-650 * NOTE: 'params' can be omitted.
-651 */
-652 KJUR.asn1.DERInteger = function(params) {
-653 KJUR.asn1.DERInteger.superclass.constructor.call(this);
-654 this.hT = "02";
-655
-656 /**
-657 * set value by Tom Wu's BigInteger object
-658 * @name setByBigInteger
-659 * @memberOf KJUR.asn1.DERInteger
-660 * @function
-661 * @param {BigInteger} bigIntegerValue to set
-662 */
-663 this.setByBigInteger = function(bigIntegerValue) {
-664 this.hTLV = null;
-665 this.isModified = true;
-666 this.hV = KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(bigIntegerValue);
-667 };
-668
-669 /**
-670 * set value by integer value
-671 * @name setByInteger
-672 * @memberOf KJUR.asn1.DERInteger
-673 * @function
-674 * @param {Integer} integer value to set
-675 */
-676 this.setByInteger = function(intValue) {
-677 var bi = new BigInteger(String(intValue), 10);
-678 this.setByBigInteger(bi);
-679 };
-680
-681 /**
-682 * set value by integer value
-683 * @name setValueHex
-684 * @memberOf KJUR.asn1.DERInteger
-685 * @function
-686 * @param {String} hexadecimal string of integer value
-687 * @description
-688 * <br/>
-689 * NOTE: Value shall be represented by minimum octet length of
-690 * two's complement representation.
-691 * @example
-692 * new KJUR.asn1.DERInteger(123);
-693 * new KJUR.asn1.DERInteger({'int': 123});
-694 * new KJUR.asn1.DERInteger({'hex': '1fad'});
-695 */
-696 this.setValueHex = function(newHexString) {
-697 this.hV = newHexString;
-698 };
-699
-700 this.getFreshValueHex = function() {
-701 return this.hV;
-702 };
-703
-704 if (typeof params != "undefined") {
-705 if (typeof params['bigint'] != "undefined") {
-706 this.setByBigInteger(params['bigint']);
-707 } else if (typeof params['int'] != "undefined") {
-708 this.setByInteger(params['int']);
-709 } else if (typeof params == "number") {
-710 this.setByInteger(params);
-711 } else if (typeof params['hex'] != "undefined") {
-712 this.setValueHex(params['hex']);
-713 }
-714 }
-715 };
-716 YAHOO.lang.extend(KJUR.asn1.DERInteger, KJUR.asn1.ASN1Object);
-717
-718 // ********************************************************************
-719 /**
-720 * class for ASN.1 DER encoded BitString primitive
-721 * @name KJUR.asn1.DERBitString
-722 * @class class for ASN.1 DER encoded BitString primitive
-723 * @extends KJUR.asn1.ASN1Object
-724 * @description
-725 * <br/>
-726 * As for argument 'params' for constructor, you can specify one of
-727 * following properties:
-728 * <ul>
-729 * <li>bin - specify binary string (ex. '10111')</li>
-730 * <li>array - specify array of boolean (ex. [true,false,true,true])</li>
-731 * <li>hex - specify hexadecimal string of ASN.1 value(V) including unused bits</li>
-732 * </ul>
-733 * NOTE: 'params' can be omitted.
-734 */
-735 KJUR.asn1.DERBitString = function(params) {
-736 KJUR.asn1.DERBitString.superclass.constructor.call(this);
-737 this.hT = "03";
-738
-739 /**
-740 * set ASN.1 value(V) by a hexadecimal string including unused bits
-741 * @name setHexValueIncludingUnusedBits
-742 * @memberOf KJUR.asn1.DERBitString
-743 * @function
-744 * @param {String} newHexStringIncludingUnusedBits
-745 */
-746 this.setHexValueIncludingUnusedBits = function(newHexStringIncludingUnusedBits) {
-747 this.hTLV = null;
-748 this.isModified = true;
-749 this.hV = newHexStringIncludingUnusedBits;
-750 };
-751
-752 /**
-753 * set ASN.1 value(V) by unused bit and hexadecimal string of value
-754 * @name setUnusedBitsAndHexValue
-755 * @memberOf KJUR.asn1.DERBitString
-756 * @function
-757 * @param {Integer} unusedBits
-758 * @param {String} hValue
-759 */
-760 this.setUnusedBitsAndHexValue = function(unusedBits, hValue) {
-761 if (unusedBits < 0 || 7 < unusedBits) {
-762 throw "unused bits shall be from 0 to 7: u = " + unusedBits;
-763 }
-764 var hUnusedBits = "0" + unusedBits;
-765 this.hTLV = null;
-766 this.isModified = true;
-767 this.hV = hUnusedBits + hValue;
-768 };
-769
-770 /**
-771 * set ASN.1 DER BitString by binary string
-772 * @name setByBinaryString
-773 * @memberOf KJUR.asn1.DERBitString
-774 * @function
-775 * @param {String} binaryString binary value string (i.e. '10111')
-776 * @description
-777 * Its unused bits will be calculated automatically by length of
-778 * 'binaryValue'. <br/>
-779 * NOTE: Trailing zeros '0' will be ignored.
-780 */
-781 this.setByBinaryString = function(binaryString) {
-782 binaryString = binaryString.replace(/0+$/, '');
-783 var unusedBits = 8 - binaryString.length % 8;
-784 if (unusedBits == 8) unusedBits = 0;
-785 for (var i = 0; i <= unusedBits; i++) {
-786 binaryString += '0';
-787 }
-788 var h = '';
-789 for (var i = 0; i < binaryString.length - 1; i += 8) {
-790 var b = binaryString.substr(i, 8);
-791 var x = parseInt(b, 2).toString(16);
-792 if (x.length == 1) x = '0' + x;
-793 h += x;
-794 }
-795 this.hTLV = null;
-796 this.isModified = true;
-797 this.hV = '0' + unusedBits + h;
-798 };
-799
-800 /**
-801 * set ASN.1 TLV value(V) by an array of boolean
-802 * @name setByBooleanArray
-803 * @memberOf KJUR.asn1.DERBitString
-804 * @function
-805 * @param {array} booleanArray array of boolean (ex. [true, false, true])
-806 * @description
-807 * NOTE: Trailing falses will be ignored.
-808 */
-809 this.setByBooleanArray = function(booleanArray) {
-810 var s = '';
-811 for (var i = 0; i < booleanArray.length; i++) {
-812 if (booleanArray[i] == true) {
-813 s += '1';
-814 } else {
-815 s += '0';
-816 }
-817 }
-818 this.setByBinaryString(s);
-819 };
-820
-821 /**
-822 * generate an array of false with specified length
-823 * @name newFalseArray
-824 * @memberOf KJUR.asn1.DERBitString
-825 * @function
-826 * @param {Integer} nLength length of array to generate
-827 * @return {array} array of boolean faluse
-828 * @description
-829 * This static method may be useful to initialize boolean array.
-830 */
-831 this.newFalseArray = function(nLength) {
-832 var a = new Array(nLength);
-833 for (var i = 0; i < nLength; i++) {
-834 a[i] = false;
-835 }
-836 return a;
-837 };
-838
-839 this.getFreshValueHex = function() {
-840 return this.hV;
-841 };
-842
-843 if (typeof params != "undefined") {
-844 if (typeof params == "string" && params.toLowerCase().match(/^[0-9a-f]+$/)) {
-845 this.setHexValueIncludingUnusedBits(params);
-846 } else if (typeof params['hex'] != "undefined") {
-847 this.setHexValueIncludingUnusedBits(params['hex']);
-848 } else if (typeof params['bin'] != "undefined") {
-849 this.setByBinaryString(params['bin']);
-850 } else if (typeof params['array'] != "undefined") {
-851 this.setByBooleanArray(params['array']);
-852 }
-853 }
-854 };
-855 YAHOO.lang.extend(KJUR.asn1.DERBitString, KJUR.asn1.ASN1Object);
-856
-857 // ********************************************************************
-858 /**
-859 * class for ASN.1 DER OctetString
-860 * @name KJUR.asn1.DEROctetString
-861 * @class class for ASN.1 DER OctetString
-862 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
-863 * @extends KJUR.asn1.DERAbstractString
-864 * @description
-865 * @see KJUR.asn1.DERAbstractString - superclass
-866 */
-867 KJUR.asn1.DEROctetString = function(params) {
-868 KJUR.asn1.DEROctetString.superclass.constructor.call(this, params);
-869 this.hT = "04";
-870 };
-871 YAHOO.lang.extend(KJUR.asn1.DEROctetString, KJUR.asn1.DERAbstractString);
-872
-873 // ********************************************************************
-874 /**
-875 * class for ASN.1 DER Null
-876 * @name KJUR.asn1.DERNull
-877 * @class class for ASN.1 DER Null
-878 * @extends KJUR.asn1.ASN1Object
-879 * @description
-880 * @see KJUR.asn1.ASN1Object - superclass
-881 */
-882 KJUR.asn1.DERNull = function() {
-883 KJUR.asn1.DERNull.superclass.constructor.call(this);
-884 this.hT = "05";
-885 this.hTLV = "0500";
-886 };
-887 YAHOO.lang.extend(KJUR.asn1.DERNull, KJUR.asn1.ASN1Object);
-888
-889 // ********************************************************************
-890 /**
-891 * class for ASN.1 DER ObjectIdentifier
-892 * @name KJUR.asn1.DERObjectIdentifier
-893 * @class class for ASN.1 DER ObjectIdentifier
-894 * @param {Array} params associative array of parameters (ex. {'oid': '2.5.4.5'})
-895 * @extends KJUR.asn1.ASN1Object
-896 * @description
-897 * <br/>
-898 * As for argument 'params' for constructor, you can specify one of
-899 * following properties:
-900 * <ul>
-901 * <li>oid - specify initial ASN.1 value(V) by a oid string (ex. 2.5.4.13)</li>
-902 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
-903 * </ul>
-904 * NOTE: 'params' can be omitted.
-905 */
-906 KJUR.asn1.DERObjectIdentifier = function(params) {
-907 var itox = function(i) {
-908 var h = i.toString(16);
-909 if (h.length == 1) h = '0' + h;
-910 return h;
-911 };
-912 var roidtox = function(roid) {
-913 var h = '';
-914 var bi = new BigInteger(roid, 10);
-915 var b = bi.toString(2);
-916 var padLen = 7 - b.length % 7;
-917 if (padLen == 7) padLen = 0;
-918 var bPad = '';
-919 for (var i = 0; i < padLen; i++) bPad += '0';
-920 b = bPad + b;
-921 for (var i = 0; i < b.length - 1; i += 7) {
-922 var b8 = b.substr(i, 7);
-923 if (i != b.length - 7) b8 = '1' + b8;
-924 h += itox(parseInt(b8, 2));
-925 }
-926 return h;
-927 }
-928
-929 KJUR.asn1.DERObjectIdentifier.superclass.constructor.call(this);
-930 this.hT = "06";
+325 if (this.hV.length % 2 == 1) {
+326 throw "value hex must be even length: n=" + hV.length + ",v=" + this.hV;
+327 }
+328 var n = this.hV.length / 2;
+329 var hN = n.toString(16);
+330 if (hN.length % 2 == 1) {
+331 hN = "0" + hN;
+332 }
+333 if (n < 128) {
+334 return hN;
+335 } else {
+336 var hNlen = hN.length / 2;
+337 if (hNlen > 15) {
+338 throw "ASN.1 length too long to represent by 8x: n = " + n.toString(16);
+339 }
+340 var head = 128 + hNlen;
+341 return head.toString(16) + hN;
+342 }
+343 };
+344
+345 /**
+346 * get hexadecimal string of ASN.1 TLV bytes
+347 * @name getEncodedHex
+348 * @memberOf KJUR.asn1.ASN1Object
+349 * @function
+350 * @return {String} hexadecimal string of ASN.1 TLV
+351 */
+352 this.getEncodedHex = function() {
+353 if (this.hTLV == null || this.isModified) {
+354 this.hV = this.getFreshValueHex();
+355 this.hL = this.getLengthHexFromValue();
+356 this.hTLV = this.hT + this.hL + this.hV;
+357 this.isModified = false;
+358 //alert("first time: " + this.hTLV);
+359 }
+360 return this.hTLV;
+361 };
+362
+363 /**
+364 * get hexadecimal string of ASN.1 TLV value(V) bytes
+365 * @name getValueHex
+366 * @memberOf KJUR.asn1.ASN1Object
+367 * @function
+368 * @return {String} hexadecimal string of ASN.1 TLV value(V) bytes
+369 */
+370 this.getValueHex = function() {
+371 this.getEncodedHex();
+372 return this.hV;
+373 }
+374
+375 this.getFreshValueHex = function() {
+376 return '';
+377 };
+378 };
+379
+380 // == BEGIN DERAbstractString ================================================
+381 /**
+382 * base class for ASN.1 DER string classes
+383 * @name KJUR.asn1.DERAbstractString
+384 * @class base class for ASN.1 DER string classes
+385 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
+386 * @property {String} s internal string of value
+387 * @extends KJUR.asn1.ASN1Object
+388 * @description
+389 * <br/>
+390 * As for argument 'params' for constructor, you can specify one of
+391 * following properties:
+392 * <ul>
+393 * <li>str - specify initial ASN.1 value(V) by a string</li>
+394 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
+395 * </ul>
+396 * NOTE: 'params' can be omitted.
+397 */
+398 KJUR.asn1.DERAbstractString = function(params) {
+399 KJUR.asn1.DERAbstractString.superclass.constructor.call(this);
+400 var s = null;
+401 var hV = null;
+402
+403 /**
+404 * get string value of this string object
+405 * @name getString
+406 * @memberOf KJUR.asn1.DERAbstractString
+407 * @function
+408 * @return {String} string value of this string object
+409 */
+410 this.getString = function() {
+411 return this.s;
+412 };
+413
+414 /**
+415 * set value by a string
+416 * @name setString
+417 * @memberOf KJUR.asn1.DERAbstractString
+418 * @function
+419 * @param {String} newS value by a string to set
+420 */
+421 this.setString = function(newS) {
+422 this.hTLV = null;
+423 this.isModified = true;
+424 this.s = newS;
+425 this.hV = stohex(this.s);
+426 };
+427
+428 /**
+429 * set value by a hexadecimal string
+430 * @name setStringHex
+431 * @memberOf KJUR.asn1.DERAbstractString
+432 * @function
+433 * @param {String} newHexString value by a hexadecimal string to set
+434 */
+435 this.setStringHex = function(newHexString) {
+436 this.hTLV = null;
+437 this.isModified = true;
+438 this.s = null;
+439 this.hV = newHexString;
+440 };
+441
+442 this.getFreshValueHex = function() {
+443 return this.hV;
+444 };
+445
+446 if (typeof params != "undefined") {
+447 if (typeof params == "string") {
+448 this.setString(params);
+449 } else if (typeof params['str'] != "undefined") {
+450 this.setString(params['str']);
+451 } else if (typeof params['hex'] != "undefined") {
+452 this.setStringHex(params['hex']);
+453 }
+454 }
+455 };
+456 YAHOO.lang.extend(KJUR.asn1.DERAbstractString, KJUR.asn1.ASN1Object);
+457 // == END DERAbstractString ================================================
+458
+459 // == BEGIN DERAbstractTime ==================================================
+460 /**
+461 * base class for ASN.1 DER Generalized/UTCTime class
+462 * @name KJUR.asn1.DERAbstractTime
+463 * @class base class for ASN.1 DER Generalized/UTCTime class
+464 * @param {Array} params associative array of parameters (ex. {'str': '130430235959Z'})
+465 * @extends KJUR.asn1.ASN1Object
+466 * @description
+467 * @see KJUR.asn1.ASN1Object - superclass
+468 */
+469 KJUR.asn1.DERAbstractTime = function(params) {
+470 KJUR.asn1.DERAbstractTime.superclass.constructor.call(this);
+471 var s = null;
+472 var date = null;
+473
+474 // --- PRIVATE METHODS --------------------
+475 this.localDateToUTC = function(d) {
+476 utc = d.getTime() + (d.getTimezoneOffset() * 60000);
+477 var utcDate = new Date(utc);
+478 return utcDate;
+479 };
+480
+481 /*
+482 * format date string by Data object
+483 * @name formatDate
+484 * @memberOf KJUR.asn1.AbstractTime;
+485 * @param {Date} dateObject
+486 * @param {string} type 'utc' or 'gen'
+487 * @param {boolean} withMillis flag for with millisections or not
+488 * @description
+489 * 'withMillis' flag is supported from asn1 1.0.6.
+490 */
+491 this.formatDate = function(dateObject, type, withMillis) {
+492 var pad = this.zeroPadding;
+493 var d = this.localDateToUTC(dateObject);
+494 var year = String(d.getFullYear());
+495 if (type == 'utc') year = year.substr(2, 2);
+496 var month = pad(String(d.getMonth() + 1), 2);
+497 var day = pad(String(d.getDate()), 2);
+498 var hour = pad(String(d.getHours()), 2);
+499 var min = pad(String(d.getMinutes()), 2);
+500 var sec = pad(String(d.getSeconds()), 2);
+501 var s = year + month + day + hour + min + sec;
+502 if (withMillis === true) {
+503 var millis = d.getMilliseconds();
+504 if (millis != 0) {
+505 var sMillis = pad(String(millis), 3);
+506 sMillis = sMillis.replace(/[0]+$/, "");
+507 s = s + "." + sMillis;
+508 }
+509 }
+510 return s + "Z";
+511 };
+512
+513 this.zeroPadding = function(s, len) {
+514 if (s.length >= len) return s;
+515 return new Array(len - s.length + 1).join('0') + s;
+516 };
+517
+518 // --- PUBLIC METHODS --------------------
+519 /**
+520 * get string value of this string object
+521 * @name getString
+522 * @memberOf KJUR.asn1.DERAbstractTime
+523 * @function
+524 * @return {String} string value of this time object
+525 */
+526 this.getString = function() {
+527 return this.s;
+528 };
+529
+530 /**
+531 * set value by a string
+532 * @name setString
+533 * @memberOf KJUR.asn1.DERAbstractTime
+534 * @function
+535 * @param {String} newS value by a string to set such like "130430235959Z"
+536 */
+537 this.setString = function(newS) {
+538 this.hTLV = null;
+539 this.isModified = true;
+540 this.s = newS;
+541 this.hV = stohex(newS);
+542 };
+543
+544 /**
+545 * set value by a Date object
+546 * @name setByDateValue
+547 * @memberOf KJUR.asn1.DERAbstractTime
+548 * @function
+549 * @param {Integer} year year of date (ex. 2013)
+550 * @param {Integer} month month of date between 1 and 12 (ex. 12)
+551 * @param {Integer} day day of month
+552 * @param {Integer} hour hours of date
+553 * @param {Integer} min minutes of date
+554 * @param {Integer} sec seconds of date
+555 */
+556 this.setByDateValue = function(year, month, day, hour, min, sec) {
+557 var dateObject = new Date(Date.UTC(year, month - 1, day, hour, min, sec, 0));
+558 this.setByDate(dateObject);
+559 };
+560
+561 this.getFreshValueHex = function() {
+562 return this.hV;
+563 };
+564 };
+565 YAHOO.lang.extend(KJUR.asn1.DERAbstractTime, KJUR.asn1.ASN1Object);
+566 // == END DERAbstractTime ==================================================
+567
+568 // == BEGIN DERAbstractStructured ============================================
+569 /**
+570 * base class for ASN.1 DER structured class
+571 * @name KJUR.asn1.DERAbstractStructured
+572 * @class base class for ASN.1 DER structured class
+573 * @property {Array} asn1Array internal array of ASN1Object
+574 * @extends KJUR.asn1.ASN1Object
+575 * @description
+576 * @see KJUR.asn1.ASN1Object - superclass
+577 */
+578 KJUR.asn1.DERAbstractStructured = function(params) {
+579 KJUR.asn1.DERAbstractString.superclass.constructor.call(this);
+580 var asn1Array = null;
+581
+582 /**
+583 * set value by array of ASN1Object
+584 * @name setByASN1ObjectArray
+585 * @memberOf KJUR.asn1.DERAbstractStructured
+586 * @function
+587 * @param {array} asn1ObjectArray array of ASN1Object to set
+588 */
+589 this.setByASN1ObjectArray = function(asn1ObjectArray) {
+590 this.hTLV = null;
+591 this.isModified = true;
+592 this.asn1Array = asn1ObjectArray;
+593 };
+594
+595 /**
+596 * append an ASN1Object to internal array
+597 * @name appendASN1Object
+598 * @memberOf KJUR.asn1.DERAbstractStructured
+599 * @function
+600 * @param {ASN1Object} asn1Object to add
+601 */
+602 this.appendASN1Object = function(asn1Object) {
+603 this.hTLV = null;
+604 this.isModified = true;
+605 this.asn1Array.push(asn1Object);
+606 };
+607
+608 this.asn1Array = new Array();
+609 if (typeof params != "undefined") {
+610 if (typeof params['array'] != "undefined") {
+611 this.asn1Array = params['array'];
+612 }
+613 }
+614 };
+615 YAHOO.lang.extend(KJUR.asn1.DERAbstractStructured, KJUR.asn1.ASN1Object);
+616
+617
+618 // ********************************************************************
+619 // ASN.1 Object Classes
+620 // ********************************************************************
+621
+622 // ********************************************************************
+623 /**
+624 * class for ASN.1 DER Boolean
+625 * @name KJUR.asn1.DERBoolean
+626 * @class class for ASN.1 DER Boolean
+627 * @extends KJUR.asn1.ASN1Object
+628 * @description
+629 * @see KJUR.asn1.ASN1Object - superclass
+630 */
+631 KJUR.asn1.DERBoolean = function() {
+632 KJUR.asn1.DERBoolean.superclass.constructor.call(this);
+633 this.hT = "01";
+634 this.hTLV = "0101ff";
+635 };
+636 YAHOO.lang.extend(KJUR.asn1.DERBoolean, KJUR.asn1.ASN1Object);
+637
+638 // ********************************************************************
+639 /**
+640 * class for ASN.1 DER Integer
+641 * @name KJUR.asn1.DERInteger
+642 * @class class for ASN.1 DER Integer
+643 * @extends KJUR.asn1.ASN1Object
+644 * @description
+645 * <br/>
+646 * As for argument 'params' for constructor, you can specify one of
+647 * following properties:
+648 * <ul>
+649 * <li>int - specify initial ASN.1 value(V) by integer value</li>
+650 * <li>bigint - specify initial ASN.1 value(V) by BigInteger object</li>
+651 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
+652 * </ul>
+653 * NOTE: 'params' can be omitted.
+654 */
+655 KJUR.asn1.DERInteger = function(params) {
+656 KJUR.asn1.DERInteger.superclass.constructor.call(this);
+657 this.hT = "02";
+658
+659 /**
+660 * set value by Tom Wu's BigInteger object
+661 * @name setByBigInteger
+662 * @memberOf KJUR.asn1.DERInteger
+663 * @function
+664 * @param {BigInteger} bigIntegerValue to set
+665 */
+666 this.setByBigInteger = function(bigIntegerValue) {
+667 this.hTLV = null;
+668 this.isModified = true;
+669 this.hV = KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(bigIntegerValue);
+670 };
+671
+672 /**
+673 * set value by integer value
+674 * @name setByInteger
+675 * @memberOf KJUR.asn1.DERInteger
+676 * @function
+677 * @param {Integer} integer value to set
+678 */
+679 this.setByInteger = function(intValue) {
+680 var bi = new BigInteger(String(intValue), 10);
+681 this.setByBigInteger(bi);
+682 };
+683
+684 /**
+685 * set value by integer value
+686 * @name setValueHex
+687 * @memberOf KJUR.asn1.DERInteger
+688 * @function
+689 * @param {String} hexadecimal string of integer value
+690 * @description
+691 * <br/>
+692 * NOTE: Value shall be represented by minimum octet length of
+693 * two's complement representation.
+694 * @example
+695 * new KJUR.asn1.DERInteger(123);
+696 * new KJUR.asn1.DERInteger({'int': 123});
+697 * new KJUR.asn1.DERInteger({'hex': '1fad'});
+698 */
+699 this.setValueHex = function(newHexString) {
+700 this.hV = newHexString;
+701 };
+702
+703 this.getFreshValueHex = function() {
+704 return this.hV;
+705 };
+706
+707 if (typeof params != "undefined") {
+708 if (typeof params['bigint'] != "undefined") {
+709 this.setByBigInteger(params['bigint']);
+710 } else if (typeof params['int'] != "undefined") {
+711 this.setByInteger(params['int']);
+712 } else if (typeof params == "number") {
+713 this.setByInteger(params);
+714 } else if (typeof params['hex'] != "undefined") {
+715 this.setValueHex(params['hex']);
+716 }
+717 }
+718 };
+719 YAHOO.lang.extend(KJUR.asn1.DERInteger, KJUR.asn1.ASN1Object);
+720
+721 // ********************************************************************
+722 /**
+723 * class for ASN.1 DER encoded BitString primitive
+724 * @name KJUR.asn1.DERBitString
+725 * @class class for ASN.1 DER encoded BitString primitive
+726 * @extends KJUR.asn1.ASN1Object
+727 * @description
+728 * <br/>
+729 * As for argument 'params' for constructor, you can specify one of
+730 * following properties:
+731 * <ul>
+732 * <li>bin - specify binary string (ex. '10111')</li>
+733 * <li>array - specify array of boolean (ex. [true,false,true,true])</li>
+734 * <li>hex - specify hexadecimal string of ASN.1 value(V) including unused bits</li>
+735 * </ul>
+736 * NOTE: 'params' can be omitted.
+737 */
+738 KJUR.asn1.DERBitString = function(params) {
+739 KJUR.asn1.DERBitString.superclass.constructor.call(this);
+740 this.hT = "03";
+741
+742 /**
+743 * set ASN.1 value(V) by a hexadecimal string including unused bits
+744 * @name setHexValueIncludingUnusedBits
+745 * @memberOf KJUR.asn1.DERBitString
+746 * @function
+747 * @param {String} newHexStringIncludingUnusedBits
+748 */
+749 this.setHexValueIncludingUnusedBits = function(newHexStringIncludingUnusedBits) {
+750 this.hTLV = null;
+751 this.isModified = true;
+752 this.hV = newHexStringIncludingUnusedBits;
+753 };
+754
+755 /**
+756 * set ASN.1 value(V) by unused bit and hexadecimal string of value
+757 * @name setUnusedBitsAndHexValue
+758 * @memberOf KJUR.asn1.DERBitString
+759 * @function
+760 * @param {Integer} unusedBits
+761 * @param {String} hValue
+762 */
+763 this.setUnusedBitsAndHexValue = function(unusedBits, hValue) {
+764 if (unusedBits < 0 || 7 < unusedBits) {
+765 throw "unused bits shall be from 0 to 7: u = " + unusedBits;
+766 }
+767 var hUnusedBits = "0" + unusedBits;
+768 this.hTLV = null;
+769 this.isModified = true;
+770 this.hV = hUnusedBits + hValue;
+771 };
+772
+773 /**
+774 * set ASN.1 DER BitString by binary string
+775 * @name setByBinaryString
+776 * @memberOf KJUR.asn1.DERBitString
+777 * @function
+778 * @param {String} binaryString binary value string (i.e. '10111')
+779 * @description
+780 * Its unused bits will be calculated automatically by length of
+781 * 'binaryValue'. <br/>
+782 * NOTE: Trailing zeros '0' will be ignored.
+783 */
+784 this.setByBinaryString = function(binaryString) {
+785 binaryString = binaryString.replace(/0+$/, '');
+786 var unusedBits = 8 - binaryString.length % 8;
+787 if (unusedBits == 8) unusedBits = 0;
+788 for (var i = 0; i <= unusedBits; i++) {
+789 binaryString += '0';
+790 }
+791 var h = '';
+792 for (var i = 0; i < binaryString.length - 1; i += 8) {
+793 var b = binaryString.substr(i, 8);
+794 var x = parseInt(b, 2).toString(16);
+795 if (x.length == 1) x = '0' + x;
+796 h += x;
+797 }
+798 this.hTLV = null;
+799 this.isModified = true;
+800 this.hV = '0' + unusedBits + h;
+801 };
+802
+803 /**
+804 * set ASN.1 TLV value(V) by an array of boolean
+805 * @name setByBooleanArray
+806 * @memberOf KJUR.asn1.DERBitString
+807 * @function
+808 * @param {array} booleanArray array of boolean (ex. [true, false, true])
+809 * @description
+810 * NOTE: Trailing falses will be ignored.
+811 */
+812 this.setByBooleanArray = function(booleanArray) {
+813 var s = '';
+814 for (var i = 0; i < booleanArray.length; i++) {
+815 if (booleanArray[i] == true) {
+816 s += '1';
+817 } else {
+818 s += '0';
+819 }
+820 }
+821 this.setByBinaryString(s);
+822 };
+823
+824 /**
+825 * generate an array of false with specified length
+826 * @name newFalseArray
+827 * @memberOf KJUR.asn1.DERBitString
+828 * @function
+829 * @param {Integer} nLength length of array to generate
+830 * @return {array} array of boolean faluse
+831 * @description
+832 * This static method may be useful to initialize boolean array.
+833 */
+834 this.newFalseArray = function(nLength) {
+835 var a = new Array(nLength);
+836 for (var i = 0; i < nLength; i++) {
+837 a[i] = false;
+838 }
+839 return a;
+840 };
+841
+842 this.getFreshValueHex = function() {
+843 return this.hV;
+844 };
+845
+846 if (typeof params != "undefined") {
+847 if (typeof params == "string" && params.toLowerCase().match(/^[0-9a-f]+$/)) {
+848 this.setHexValueIncludingUnusedBits(params);
+849 } else if (typeof params['hex'] != "undefined") {
+850 this.setHexValueIncludingUnusedBits(params['hex']);
+851 } else if (typeof params['bin'] != "undefined") {
+852 this.setByBinaryString(params['bin']);
+853 } else if (typeof params['array'] != "undefined") {
+854 this.setByBooleanArray(params['array']);
+855 }
+856 }
+857 };
+858 YAHOO.lang.extend(KJUR.asn1.DERBitString, KJUR.asn1.ASN1Object);
+859
+860 // ********************************************************************
+861 /**
+862 * class for ASN.1 DER OctetString
+863 * @name KJUR.asn1.DEROctetString
+864 * @class class for ASN.1 DER OctetString
+865 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
+866 * @extends KJUR.asn1.DERAbstractString
+867 * @description
+868 * @see KJUR.asn1.DERAbstractString - superclass
+869 */
+870 KJUR.asn1.DEROctetString = function(params) {
+871 KJUR.asn1.DEROctetString.superclass.constructor.call(this, params);
+872 this.hT = "04";
+873 };
+874 YAHOO.lang.extend(KJUR.asn1.DEROctetString, KJUR.asn1.DERAbstractString);
+875
+876 // ********************************************************************
+877 /**
+878 * class for ASN.1 DER Null
+879 * @name KJUR.asn1.DERNull
+880 * @class class for ASN.1 DER Null
+881 * @extends KJUR.asn1.ASN1Object
+882 * @description
+883 * @see KJUR.asn1.ASN1Object - superclass
+884 */
+885 KJUR.asn1.DERNull = function() {
+886 KJUR.asn1.DERNull.superclass.constructor.call(this);
+887 this.hT = "05";
+888 this.hTLV = "0500";
+889 };
+890 YAHOO.lang.extend(KJUR.asn1.DERNull, KJUR.asn1.ASN1Object);
+891
+892 // ********************************************************************
+893 /**
+894 * class for ASN.1 DER ObjectIdentifier
+895 * @name KJUR.asn1.DERObjectIdentifier
+896 * @class class for ASN.1 DER ObjectIdentifier
+897 * @param {Array} params associative array of parameters (ex. {'oid': '2.5.4.5'})
+898 * @extends KJUR.asn1.ASN1Object
+899 * @description
+900 * <br/>
+901 * As for argument 'params' for constructor, you can specify one of
+902 * following properties:
+903 * <ul>
+904 * <li>oid - specify initial ASN.1 value(V) by a oid string (ex. 2.5.4.13)</li>
+905 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
+906 * </ul>
+907 * NOTE: 'params' can be omitted.
+908 */
+909 KJUR.asn1.DERObjectIdentifier = function(params) {
+910 var itox = function(i) {
+911 var h = i.toString(16);
+912 if (h.length == 1) h = '0' + h;
+913 return h;
+914 };
+915 var roidtox = function(roid) {
+916 var h = '';
+917 var bi = new BigInteger(roid, 10);
+918 var b = bi.toString(2);
+919 var padLen = 7 - b.length % 7;
+920 if (padLen == 7) padLen = 0;
+921 var bPad = '';
+922 for (var i = 0; i < padLen; i++) bPad += '0';
+923 b = bPad + b;
+924 for (var i = 0; i < b.length - 1; i += 7) {
+925 var b8 = b.substr(i, 7);
+926 if (i != b.length - 7) b8 = '1' + b8;
+927 h += itox(parseInt(b8, 2));
+928 }
+929 return h;
+930 }
931
-932 /**
-933 * set value by a hexadecimal string
-934 * @name setValueHex
-935 * @memberOf KJUR.asn1.DERObjectIdentifier
-936 * @function
-937 * @param {String} newHexString hexadecimal value of OID bytes
-938 */
-939 this.setValueHex = function(newHexString) {
-940 this.hTLV = null;
-941 this.isModified = true;
-942 this.s = null;
-943 this.hV = newHexString;
-944 };
-945
-946 /**
-947 * set value by a OID string
-948 * @name setValueOidString
-949 * @memberOf KJUR.asn1.DERObjectIdentifier
-950 * @function
-951 * @param {String} oidString OID string (ex. 2.5.4.13)
-952 */
-953 this.setValueOidString = function(oidString) {
-954 if (! oidString.match(/^[0-9.]+$/)) {
-955 throw "malformed oid string: " + oidString;
-956 }
-957 var h = '';
-958 var a = oidString.split('.');
-959 var i0 = parseInt(a[0]) * 40 + parseInt(a[1]);
-960 h += itox(i0);
-961 a.splice(0, 2);
-962 for (var i = 0; i < a.length; i++) {
-963 h += roidtox(a[i]);
-964 }
-965 this.hTLV = null;
-966 this.isModified = true;
-967 this.s = null;
-968 this.hV = h;
-969 };
-970
-971 /**
-972 * set value by a OID name
-973 * @name setValueName
-974 * @memberOf KJUR.asn1.DERObjectIdentifier
-975 * @function
-976 * @param {String} oidName OID name (ex. 'serverAuth')
-977 * @since 1.0.1
-978 * @description
-979 * OID name shall be defined in 'KJUR.asn1.x509.OID.name2oidList'.
-980 * Otherwise raise error.
-981 */
-982 this.setValueName = function(oidName) {
-983 if (typeof KJUR.asn1.x509.OID.name2oidList[oidName] != "undefined") {
-984 var oid = KJUR.asn1.x509.OID.name2oidList[oidName];
-985 this.setValueOidString(oid);
-986 } else {
-987 throw "DERObjectIdentifier oidName undefined: " + oidName;
-988 }
-989 };
-990
-991 this.getFreshValueHex = function() {
-992 return this.hV;
-993 };
-994
-995 if (typeof params != "undefined") {
-996 if (typeof params == "string" && params.match(/^[0-2].[0-9.]+$/)) {
-997 this.setValueOidString(params);
-998 } else if (KJUR.asn1.x509.OID.name2oidList[params] !== undefined) {
-999 this.setValueOidString(KJUR.asn1.x509.OID.name2oidList[params]);
-1000 } else if (typeof params['oid'] != "undefined") {
-1001 this.setValueOidString(params['oid']);
-1002 } else if (typeof params['hex'] != "undefined") {
-1003 this.setValueHex(params['hex']);
-1004 } else if (typeof params['name'] != "undefined") {
-1005 this.setValueName(params['name']);
-1006 }
-1007 }
-1008 };
-1009 YAHOO.lang.extend(KJUR.asn1.DERObjectIdentifier, KJUR.asn1.ASN1Object);
-1010
-1011 // ********************************************************************
-1012 /**
-1013 * class for ASN.1 DER UTF8String
-1014 * @name KJUR.asn1.DERUTF8String
-1015 * @class class for ASN.1 DER UTF8String
-1016 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
-1017 * @extends KJUR.asn1.DERAbstractString
-1018 * @description
-1019 * @see KJUR.asn1.DERAbstractString - superclass
-1020 */
-1021 KJUR.asn1.DERUTF8String = function(params) {
-1022 KJUR.asn1.DERUTF8String.superclass.constructor.call(this, params);
-1023 this.hT = "0c";
-1024 };
-1025 YAHOO.lang.extend(KJUR.asn1.DERUTF8String, KJUR.asn1.DERAbstractString);
-1026
-1027 // ********************************************************************
-1028 /**
-1029 * class for ASN.1 DER NumericString
-1030 * @name KJUR.asn1.DERNumericString
-1031 * @class class for ASN.1 DER NumericString
-1032 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
-1033 * @extends KJUR.asn1.DERAbstractString
-1034 * @description
-1035 * @see KJUR.asn1.DERAbstractString - superclass
-1036 */
-1037 KJUR.asn1.DERNumericString = function(params) {
-1038 KJUR.asn1.DERNumericString.superclass.constructor.call(this, params);
-1039 this.hT = "12";
-1040 };
-1041 YAHOO.lang.extend(KJUR.asn1.DERNumericString, KJUR.asn1.DERAbstractString);
-1042
-1043 // ********************************************************************
-1044 /**
-1045 * class for ASN.1 DER PrintableString
-1046 * @name KJUR.asn1.DERPrintableString
-1047 * @class class for ASN.1 DER PrintableString
-1048 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
-1049 * @extends KJUR.asn1.DERAbstractString
-1050 * @description
-1051 * @see KJUR.asn1.DERAbstractString - superclass
-1052 */
-1053 KJUR.asn1.DERPrintableString = function(params) {
-1054 KJUR.asn1.DERPrintableString.superclass.constructor.call(this, params);
-1055 this.hT = "13";
-1056 };
-1057 YAHOO.lang.extend(KJUR.asn1.DERPrintableString, KJUR.asn1.DERAbstractString);
+932 KJUR.asn1.DERObjectIdentifier.superclass.constructor.call(this);
+933 this.hT = "06";
+934
+935 /**
+936 * set value by a hexadecimal string
+937 * @name setValueHex
+938 * @memberOf KJUR.asn1.DERObjectIdentifier
+939 * @function
+940 * @param {String} newHexString hexadecimal value of OID bytes
+941 */
+942 this.setValueHex = function(newHexString) {
+943 this.hTLV = null;
+944 this.isModified = true;
+945 this.s = null;
+946 this.hV = newHexString;
+947 };
+948
+949 /**
+950 * set value by a OID string
+951 * @name setValueOidString
+952 * @memberOf KJUR.asn1.DERObjectIdentifier
+953 * @function
+954 * @param {String} oidString OID string (ex. 2.5.4.13)
+955 */
+956 this.setValueOidString = function(oidString) {
+957 if (! oidString.match(/^[0-9.]+$/)) {
+958 throw "malformed oid string: " + oidString;
+959 }
+960 var h = '';
+961 var a = oidString.split('.');
+962 var i0 = parseInt(a[0]) * 40 + parseInt(a[1]);
+963 h += itox(i0);
+964 a.splice(0, 2);
+965 for (var i = 0; i < a.length; i++) {
+966 h += roidtox(a[i]);
+967 }
+968 this.hTLV = null;
+969 this.isModified = true;
+970 this.s = null;
+971 this.hV = h;
+972 };
+973
+974 /**
+975 * set value by a OID name
+976 * @name setValueName
+977 * @memberOf KJUR.asn1.DERObjectIdentifier
+978 * @function
+979 * @param {String} oidName OID name (ex. 'serverAuth')
+980 * @since 1.0.1
+981 * @description
+982 * OID name shall be defined in 'KJUR.asn1.x509.OID.name2oidList'.
+983 * Otherwise raise error.
+984 */
+985 this.setValueName = function(oidName) {
+986 if (typeof KJUR.asn1.x509.OID.name2oidList[oidName] != "undefined") {
+987 var oid = KJUR.asn1.x509.OID.name2oidList[oidName];
+988 this.setValueOidString(oid);
+989 } else {
+990 throw "DERObjectIdentifier oidName undefined: " + oidName;
+991 }
+992 };
+993
+994 this.getFreshValueHex = function() {
+995 return this.hV;
+996 };
+997
+998 if (typeof params != "undefined") {
+999 if (typeof params == "string" && params.match(/^[0-2].[0-9.]+$/)) {
+1000 this.setValueOidString(params);
+1001 } else if (KJUR.asn1.x509.OID.name2oidList[params] !== undefined) {
+1002 this.setValueOidString(KJUR.asn1.x509.OID.name2oidList[params]);
+1003 } else if (typeof params['oid'] != "undefined") {
+1004 this.setValueOidString(params['oid']);
+1005 } else if (typeof params['hex'] != "undefined") {
+1006 this.setValueHex(params['hex']);
+1007 } else if (typeof params['name'] != "undefined") {
+1008 this.setValueName(params['name']);
+1009 }
+1010 }
+1011 };
+1012 YAHOO.lang.extend(KJUR.asn1.DERObjectIdentifier, KJUR.asn1.ASN1Object);
+1013
+1014 // ********************************************************************
+1015 /**
+1016 * class for ASN.1 DER Enumerated
+1017 * @name KJUR.asn1.DEREnumerated
+1018 * @class class for ASN.1 DER Enumerated
+1019 * @extends KJUR.asn1.ASN1Object
+1020 * @description
+1021 * <br/>
+1022 * As for argument 'params' for constructor, you can specify one of
+1023 * following properties:
+1024 * <ul>
+1025 * <li>int - specify initial ASN.1 value(V) by integer value</li>
+1026 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
+1027 * </ul>
+1028 * NOTE: 'params' can be omitted.
+1029 */
+1030 KJUR.asn1.DEREnumerated = function(params) {
+1031 KJUR.asn1.DEREnumerated.superclass.constructor.call(this);
+1032 this.hT = "0a";
+1033
+1034 /**
+1035 * set value by Tom Wu's BigInteger object
+1036 * @name setByBigInteger
+1037 * @memberOf KJUR.asn1.DEREnumerated
+1038 * @function
+1039 * @param {BigInteger} bigIntegerValue to set
+1040 */
+1041 this.setByBigInteger = function(bigIntegerValue) {
+1042 this.hTLV = null;
+1043 this.isModified = true;
+1044 this.hV = KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(bigIntegerValue);
+1045 };
+1046
+1047 /**
+1048 * set value by integer value
+1049 * @name setByInteger
+1050 * @memberOf KJUR.asn1.DEREnumerated
+1051 * @function
+1052 * @param {Integer} integer value to set
+1053 */
+1054 this.setByInteger = function(intValue) {
+1055 var bi = new BigInteger(String(intValue), 10);
+1056 this.setByBigInteger(bi);
+1057 };
1058
-1059 // ********************************************************************
-1060 /**
-1061 * class for ASN.1 DER TeletexString
-1062 * @name KJUR.asn1.DERTeletexString
-1063 * @class class for ASN.1 DER TeletexString
-1064 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
-1065 * @extends KJUR.asn1.DERAbstractString
-1066 * @description
-1067 * @see KJUR.asn1.DERAbstractString - superclass
-1068 */
-1069 KJUR.asn1.DERTeletexString = function(params) {
-1070 KJUR.asn1.DERTeletexString.superclass.constructor.call(this, params);
-1071 this.hT = "14";
-1072 };
-1073 YAHOO.lang.extend(KJUR.asn1.DERTeletexString, KJUR.asn1.DERAbstractString);
-1074
-1075 // ********************************************************************
-1076 /**
-1077 * class for ASN.1 DER IA5String
-1078 * @name KJUR.asn1.DERIA5String
-1079 * @class class for ASN.1 DER IA5String
-1080 * @param {Array} params associative array of parameters (ex. {'str': 'aaa'})
-1081 * @extends KJUR.asn1.DERAbstractString
-1082 * @description
-1083 * @see KJUR.asn1.DERAbstractString - superclass
-1084 */
-1085 KJUR.asn1.DERIA5String = function(params) {
-1086 KJUR.asn1.DERIA5String.superclass.constructor.call(this, params);
-1087 this.hT = "16";
-1088 };
-1089 YAHOO.lang.extend(KJUR.asn1.DERIA5String, KJUR.asn1.DERAbstractString);
-1090
-1091 // ********************************************************************
-1092 /**
-1093 * class for ASN.1 DER UTCTime
-1094 * @name KJUR.asn1.DERUTCTime
-1095 * @class class for ASN.1 DER UTCTime
-1096 * @param {Array} params associative array of parameters (ex. {'str': '130430235959Z'})
-1097 * @extends KJUR.asn1.DERAbstractTime
-1098 * @description
-1099 * <br/>
-1100 * As for argument 'params' for constructor, you can specify one of
-1101 * following properties:
-1102 * <ul>
-1103 * <li>str - specify initial ASN.1 value(V) by a string (ex.'130430235959Z')</li>
-1104 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
-1105 * <li>date - specify Date object.</li>
-1106 * </ul>
-1107 * NOTE: 'params' can be omitted.
-1108 * <h4>EXAMPLES</h4>
-1109 * @example
-1110 * var d1 = new KJUR.asn1.DERUTCTime();
-1111 * d1.setString('130430125959Z');
-1112 *
-1113 * var d2 = new KJUR.asn1.DERUTCTime({'str': '130430125959Z'});
-1114 * var d3 = new KJUR.asn1.DERUTCTime({'date': new Date(Date.UTC(2015, 0, 31, 0, 0, 0, 0))});
-1115 * var d4 = new KJUR.asn1.DERUTCTime('130430125959Z');
-1116 */
-1117 KJUR.asn1.DERUTCTime = function(params) {
-1118 KJUR.asn1.DERUTCTime.superclass.constructor.call(this, params);
-1119 this.hT = "17";
-1120
-1121 /**
-1122 * set value by a Date object
-1123 * @name setByDate
-1124 * @memberOf KJUR.asn1.DERUTCTime
-1125 * @function
-1126 * @param {Date} dateObject Date object to set ASN.1 value(V)
-1127 */
-1128 this.setByDate = function(dateObject) {
-1129 this.hTLV = null;
-1130 this.isModified = true;
-1131 this.date = dateObject;
-1132 this.s = this.formatDate(this.date, 'utc');
-1133 this.hV = stohex(this.s);
-1134 };
-1135
-1136 this.getFreshValueHex = function() {
-1137 if (typeof this.date == "undefined" && typeof this.s == "undefined") {
-1138 this.date = new Date();
-1139 this.s = this.formatDate(this.date, 'utc');
-1140 this.hV = stohex(this.s);
-1141 }
-1142 return this.hV;
-1143 };
-1144
-1145 if (typeof params != "undefined") {
-1146 if (typeof params['str'] != "undefined") {
-1147 this.setString(params['str']);
-1148 } else if (typeof params == "string" && params.match(/^[0-9]{12}Z$/)) {
-1149 this.setString(params);
-1150 } else if (typeof params['hex'] != "undefined") {
-1151 this.setStringHex(params['hex']);
-1152 } else if (typeof params['date'] != "undefined") {
-1153 this.setByDate(params['date']);
-1154 }
-1155 }
-1156 };
-1157 YAHOO.lang.extend(KJUR.asn1.DERUTCTime, KJUR.asn1.DERAbstractTime);
-1158
-1159 // ********************************************************************
-1160 /**
-1161 * class for ASN.1 DER GeneralizedTime
-1162 * @name KJUR.asn1.DERGeneralizedTime
-1163 * @class class for ASN.1 DER GeneralizedTime
-1164 * @param {Array} params associative array of parameters (ex. {'str': '20130430235959Z'})
-1165 * @property {Boolean} withMillis flag to show milliseconds or not
-1166 * @extends KJUR.asn1.DERAbstractTime
-1167 * @description
-1168 * <br/>
-1169 * As for argument 'params' for constructor, you can specify one of
-1170 * following properties:
-1171 * <ul>
-1172 * <li>str - specify initial ASN.1 value(V) by a string (ex.'20130430235959Z')</li>
-1173 * <li>hex - specify initial ASN.1 value(V) by a hexadecimal string</li>
-1174 * <li>date - specify Date object.</li>
-1175 * <li>millis - specify flag to show milliseconds (from 1.0.6)</li>
-1176 * </ul>
-1177 * NOTE1: 'params' can be omitted.
-1178 * NOTE2: 'withMillis' property is supported from asn1 1.0.6.
-1179 */
-1180 KJUR.asn1.DERGeneralizedTime = function(params) {
-1181 KJUR.asn1.DERGeneralizedTime.superclass.constructor.call(this, params);
-1182 this.hT = "18";
-1183 this.withMillis = false;
-1184
-1185 /**
-1186 * set value by a Date object
-1187 * @name setByDate
-1188 * @memberOf KJUR.asn1.DERGeneralizedTime
-1189 * @function
-1190 * @param {Date} dateObject Date object to set ASN.1 value(V)
-1191 * @example
-1192 * When you specify UTC time, use 'Date.UTC' method like this:<br/>
-1193 * var o = new DERUTCTime();
-1194 * var date = new Date(Date.UTC(2015, 0, 31, 23, 59, 59, 0)); #2015JAN31 23:59:59
-1195 * o.setByDate(date);
-1196 */
-1197 this.setByDate = function(dateObject) {
-1198 this.hTLV = null;
-1199 this.isModified = true;
-1200 this.date = dateObject;
-1201 this.s = this.formatDate(this.date, 'gen', this.withMillis);
-1202 this.hV = stohex(this.s);
-1203 };
-1204
-1205 this.getFreshValueHex = function() {
-1206 if (typeof this.date == "undefined" && typeof this.s == "undefined") {
-1207 this.date = new Date();
-1208 this.s = this.formatDate(this.date, 'gen', this.withMillis);
-1209 this.hV = stohex(this.s);
-1210 }
-1211 return this.hV;
-1212 };
-1213
-1214 if (typeof params != "undefined") {
-1215 if (typeof params['str'] != "undefined") {
-1216 this.setString(params['str']);
-1217 } else if (typeof params == "string" && params.match(/^[0-9]{14}Z$/)) {
-1218 this.setString(params);
-1219 } else if (typeof params['hex'] != "undefined") {
-1220 this.setStringHex(params['hex']);
-1221 } else if (typeof params['date'] != "undefined") {
-1222 this.setByDate(params['date']);
-1223 } else if (params.millis === true) {
-1224 this.withMillis = true;
-1225 }
-1226 }
-1227 };
-1228 YAHOO.lang.extend(KJUR.asn1.DERGeneralizedTime, KJUR.asn1.DERAbstractTime);
-1229
-1230 // ********************************************************************
-1231 /**
-1232 * class for ASN.1 DER Sequence
-1233 * @name KJUR.asn1.DERSequence
-1234 * @class class for ASN.1 DER Sequence
-1235 * @extends KJUR.asn1.DERAbstractStructured
-1236 * @description
-1237 * <br/>
-1238 * As for argument 'params' for constructor, you can specify one of
-1239 * following properties:
-1240 * <ul>
-1241 * <li>array - specify array of ASN1Object to set elements of content</li>
-1242 * </ul>
-1243 * NOTE: 'params' can be omitted.
-1244 */
-1245 KJUR.asn1.DERSequence = function(params) {
-1246 KJUR.asn1.DERSequence.superclass.constructor.call(this, params);
-1247 this.hT = "30";
-1248 this.getFreshValueHex = function() {
-1249 var h = '';
-1250 for (var i = 0; i < this.asn1Array.length; i++) {
-1251 var asn1Obj = this.asn1Array[i];
-1252 h += asn1Obj.getEncodedHex();
-1253 }
-1254 this.hV = h;
-1255 return this.hV;
-1256 };
-1257 };
-1258 YAHOO.lang.extend(KJUR.asn1.DERSequence, KJUR.asn1.DERAbstractStructured);
-1259
-1260 // ********************************************************************
-1261 /**
-1262 * class for ASN.1 DER Set
-1263 * @name KJUR.asn1.DERSet
-1264 * @class class for ASN.1 DER Set
-1265 * @extends KJUR.asn1.DERAbstractStructured
-1266 * @description
-1267 * <br/>
-1268 * As for argument 'params' for constructor, you can specify one of
-1269 * following properties:
-1270 * <ul>
-1271 * <li>array - specify array of ASN1Object to set elements of content</li>
-1272 * <li>sortflag - flag for sort (default: true). ASN.1 BER is not sorted in 'SET OF'.</li>
-1273 * </ul>
-1274 * NOTE1: 'params' can be omitted.<br/>
-1275 * NOTE2: sortflag is supported since 1.0.5.
-1276 */
-1277 KJUR.asn1.DERSet = function(params) {
-1278 KJUR.asn1.DERSet.superclass.constructor.call(this, params);
-1279 this.hT = "31";
-1280 this.sortFlag = true; // item shall be sorted only in ASN.1 DER
-1281 this.getFreshValueHex = function() {
-1282 var a = new Array();
-1283 for (var i = 0; i < this.asn1Array.length; i++) {
-1284 var asn1Obj = this.asn1Array[i];
-1285 a.push(asn1Obj.getEncodedHex());
-1286 }
-1287 if (this.sortFlag == true) a.sort();
-1288 this.hV = a.join('');
-1289 return this.hV;
-1290 };
-1291
-1292 if (typeof params != "undefined") {
-1293 if (typeof params.sortflag != "undefined" &&
-1294 params.sortflag == false)
-1295 this.sortFlag = false;
-1296 }
-1297 };
-1298 YAHOO.lang.extend(KJUR.asn1.DERSet, KJUR.asn1.DERAbstractStructured);
-1299
-1300 // ********************************************************************
-1301 /**
-1302 * class for ASN.1 DER TaggedObject
-1303 * @name KJUR.asn1.DERTaggedObject
-1304 * @class class for ASN.1 DER TaggedObject
-1305 * @extends KJUR.asn1.ASN1Object
-1306 * @description
-1307 * <br/>
-1308 * Parameter 'tagNoNex' is ASN.1 tag(T) value for this object.
-1309 * For example, if you find '[1]' tag in a ASN.1 dump,
-1310 * 'tagNoHex' will be 'a1'.
-1311 * <br/>
-1312 * As for optional argument 'params' for constructor, you can specify *ANY* of
-1313 * following properties:
-1314 * <ul>
-1315 * <li>explicit - specify true if this is explicit tag otherwise false
-1316 * (default is 'true').</li>
-1317 * <li>tag - specify tag (default is 'a0' which means [0])</li>
-1318 * <li>obj - specify ASN1Object which is tagged</li>
-1319 * </ul>
-1320 * @example
-1321 * d1 = new KJUR.asn1.DERUTF8String({'str':'a'});
-1322 * d2 = new KJUR.asn1.DERTaggedObject({'obj': d1});
-1323 * hex = d2.getEncodedHex();
-1324 */
-1325 KJUR.asn1.DERTaggedObject = function(params) {
-1326 KJUR.asn1.DERTaggedObject.superclass.constructor.call(this);
-1327 this.hT = "a0";
-1328 this.hV = '';
-1329 this.isExplicit = true;
-1330 this.asn1Object = null;
-1331
-1332 /**
-1333 * set value by an ASN1Object
-1334 * @name setString
-1335 * @memberOf KJUR.asn1.DERTaggedObject
-1336 * @function
-1337 * @param {Boolean} isExplicitFlag flag for explicit/implicit tag
-1338 * @param {Integer} tagNoHex hexadecimal string of ASN.1 tag
-1339 * @param {ASN1Object} asn1Object ASN.1 to encapsulate
-1340 */
-1341 this.setASN1Object = function(isExplicitFlag, tagNoHex, asn1Object) {
-1342 this.hT = tagNoHex;
-1343 this.isExplicit = isExplicitFlag;
-1344 this.asn1Object = asn1Object;
-1345 if (this.isExplicit) {
-1346 this.hV = this.asn1Object.getEncodedHex();
-1347 this.hTLV = null;
-1348 this.isModified = true;
-1349 } else {
-1350 this.hV = null;
-1351 this.hTLV = asn1Object.getEncodedHex();
-1352 this.hTLV = this.hTLV.replace(/^../, tagNoHex);
-1353 this.isModified = false;
-1354 }
-1355 };
-1356
-1357 this.getFreshValueHex = function() {
-1358 return this.hV;
-1359 };
-1360
-1361 if (typeof params != "undefined") {
-1362 if (typeof params['tag'] != "undefined") {
-1363 this.hT = params['tag'];
-1364 }
-1365 if (typeof params['explicit'] != "undefined") {
-1366 this.isExplicit = params['explicit'];
-1367 }
-1368 if (typeof params['obj'] != "undefined") {
-1369 this.asn1Object = params['obj'];
-1370 this.setASN1Object(this.isExplicit, this.hT, this.asn1Object);
-1371 }
-1372 }
-1373 };
-1374 YAHOO.lang.extend(KJUR.asn1.DERTaggedObject, KJUR.asn1.ASN1Object);
-1375