Class KJUR.asn1.cades.CompleteCertificateRefs
Extends
KJUR.asn1.cms.Attribute.
class for RFC 5126 CAdES CompleteCertificateRefs attribute
Defined in: asn1cades-1.0.js.
| 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
OtherCertID ::= SEQUENCE {
otherCertHash OtherHash,
issuerSerial IssuerSerial OPTIONAL }
OtherHash ::= CHOICE {
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
otherHash OtherHashAlgAndValue}
OtherHashAlgAndValue ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashValue OtherHashValue }
OtherHashValue ::= OCTET STRING
|
- Fields borrowed from class KJUR.asn1.cms.Attribute:
- params, typeOid
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified
- Methods borrowed from class KJUR.asn1.cms.Attribute:
- getValueArray
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
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
OtherCertID ::= SEQUENCE {
otherCertHash OtherHash,
issuerSerial IssuerSerial OPTIONAL }
OtherHash ::= CHOICE {
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
otherHash OtherHashAlgAndValue}
OtherHashAlgAndValue ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashValue OtherHashValue }
OtherHashValue ::= OCTET STRING
o = new KJUR.asn1.cades.CompleteCertificateRefs({
array: [certPEM1,certPEM2],
otherhash: true // OPTION
});
- Parameters:
- {Array} params
- associative array of parameters
- Since:
- jsrsasign 4.7.0 asn1cades 1.0.0