Class Index | File Index

Classes


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 }
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
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
See:
KJUR.asn1.cms.IssuerSerial
KJUR.asn1.cms.ESSCertID
KJUR.asn1.cms.ESSCertIDv2

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