Class KJUR.asn1.cades.OtherCertID
Extends
KJUR.asn1.ASN1Object.
class for OtherCertID ASN.1 object
Defined in: asn1cades-1.0.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
KJUR.asn1.cades.OtherCertID(params)
class for OtherCertID ASN.1 object
OtherCertID ::= SEQUENCE {
otherCertHash OtherHash,
issuerSerial IssuerSerial OPTIONAL }
IssuerSerial ::= SEQUENCE {
issuer GeneralNames,
serialNumber CertificateSerialNumber }
OtherHash ::= CHOICE {
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
otherHash OtherHashAlgAndValue}
OtherHashValue ::= OCTET STRING
OtherHashAlgAndValue ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashValue OtherHashValue }
|
- Fields borrowed from class KJUR.asn1.ASN1Object:
- hL, hT, hTLV, hV, isModified, params
- Methods borrowed from class KJUR.asn1.ASN1Object:
- getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.cades.OtherCertID(params)
class for OtherCertID ASN.1 object
OtherCertID ::= SEQUENCE {
otherCertHash OtherHash,
issuerSerial IssuerSerial OPTIONAL }
IssuerSerial ::= SEQUENCE {
issuer GeneralNames,
serialNumber CertificateSerialNumber }
OtherHash ::= CHOICE {
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
otherHash OtherHashAlgAndValue}
OtherHashValue ::= OCTET STRING
OtherHashAlgAndValue ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashValue OtherHashValue }
new KJUR.asn1.cades.OtherCertID(certPEM)
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