Class Index | File Index

Classes


Class KJUR.asn1.x509.OCSPNonce


Extends KJUR.asn1.x509.Extension.
Nonce OCSP extension ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Nonce OCSP extension ASN.1 structure class
This class represents Nonce OCSP extension value defined in RFC 6960 4.4.1 as JSON object.
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.x509.OCSPNonce(params)
Nonce OCSP extension ASN.1 structure class
This class represents Nonce OCSP extension value defined in RFC 6960 4.4.1 as JSON object.
id-pkix-ocsp           OBJECT IDENTIFIER ::= { id-ad-ocsp }
id-pkix-ocsp-nonce     OBJECT IDENTIFIER ::= { id-pkix-ocsp 2 }
Nonce ::= OCTET STRING
Constructor of this class may have following parameters:
  • {String}extname - name "ocspNonce". It is ignored in this class but required to use with KJUR.asn1.x509.Extensions class. (OPTION)
  • {String}hex - hexadecimal string of nonce value
  • {Number}int - integer of nonce value. "hex" or "int" needs to be specified.
  • {Boolean}critical - critical flag. Generally false and not specified in this class.(OPTION)
new KJUR.asn1.x509.OCSPNonce({extname:'ocspNonce',
                              hex: '12ab...'})
Parameters:
{Array} params
JSON object for Nonce extension
Since:
jsrsasign 9.1.6 asn1x509 2.1.2
See:
KJUR.asn1.ocsp.ResponseData
KJUR.asn1.x509.Extensions
X509#getExtOCSPNonce

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