CertificateRevocationList
Represents the CertificateRevocationList structure described in RFC5280
Extends
Section titled “Extends”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CertificateRevocationList(
parameters?):CertificateRevocationList
Initializes a new instance of the CertificateRevocationList class
Parameters
Section titled “Parameters”parameters?
Section titled “parameters?”CertificateRevocationListParameters = {}
Initialization parameters
Returns
Section titled “Returns”CertificateRevocationList
Overrides
Section titled “Overrides”Properties
Section titled “Properties”crlExtensions?
Section titled “crlExtensions?”
optionalcrlExtensions?:Extensions
Implementation of
Section titled “Implementation of”ICertificateRevocationList.crlExtensions
issuer
Section titled “issuer”issuer:
RelativeDistinguishedNames
Implementation of
Section titled “Implementation of”ICertificateRevocationList.issuer
nextUpdate?
Section titled “nextUpdate?”
optionalnextUpdate?:Time
Implementation of
Section titled “Implementation of”ICertificateRevocationList.nextUpdate
revokedCertificates?
Section titled “revokedCertificates?”
optionalrevokedCertificates?:RevokedCertificate[]
Implementation of
Section titled “Implementation of”ICertificateRevocationList.revokedCertificates
signature
Section titled “signature”signature:
AlgorithmIdentifier
Implementation of
Section titled “Implementation of”ICertificateRevocationList.signature
signatureAlgorithm
Section titled “signatureAlgorithm”signatureAlgorithm:
AlgorithmIdentifier
Implementation of
Section titled “Implementation of”ICertificateRevocationList.signatureAlgorithm
signatureValue
Section titled “signatureValue”signatureValue:
BitString
Implementation of
Section titled “Implementation of”ICertificateRevocationList.signatureValue
tbsView
Section titled “tbsView”tbsView:
Uint8Array
thisUpdate
Section titled “thisUpdate”thisUpdate:
Time
Implementation of
Section titled “Implementation of”ICertificateRevocationList.thisUpdate
version
Section titled “version”version:
number
Implementation of
Section titled “Implementation of”ICertificateRevocationList.version
CLASS_NAME
Section titled “CLASS_NAME”
staticCLASS_NAME:string="CertificateRevocationList"
Name of the class
Overrides
Section titled “Overrides”Accessors
Section titled “Accessors”className
Section titled “className”Get Signature
Section titled “Get Signature”get className():
string
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get tbs():
ArrayBuffer
Returns
Section titled “Returns”ArrayBuffer
Set Signature
Section titled “Set Signature”set tbs(
value):void
Parameters
Section titled “Parameters”ArrayBuffer
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”ICertificateRevocationList.tbs
Methods
Section titled “Methods”fromSchema()
Section titled “fromSchema()”fromSchema(
schema):void
Converts parsed ASN.1 object into current class
Parameters
Section titled “Parameters”schema
Section titled “schema”any
ASN.1 schema
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”isCertificateRevoked()
Section titled “isCertificateRevoked()”isCertificateRevoked(
certificate):boolean
Returns true if supplied certificate is revoked, otherwise false
Parameters
Section titled “Parameters”certificate
Section titled “certificate”Returns
Section titled “Returns”boolean
sign()
Section titled “sign()”sign(
privateKey,hashAlgorithm?,crypto?):Promise<void>
Make a signature for existing CRL data
Parameters
Section titled “Parameters”privateKey
Section titled “privateKey”CryptoKey
Private key for “subjectPublicKeyInfo” structure
hashAlgorithm?
Section titled “hashAlgorithm?”string = "SHA-1"
Hashing algorithm. Default SHA-1
crypto?
Section titled “crypto?”ICryptoEngine = ...
Crypto engine
Returns
Section titled “Returns”Promise<void>
toJSON()
Section titled “toJSON()”toJSON():
CertificateRevocationListJson
Converts the class to JSON object
Returns
Section titled “Returns”JSON object
Overrides
Section titled “Overrides”toSchema()
Section titled “toSchema()”toSchema(
encodeFlag?):any
Convert current object to asn1js object and set correct values
Parameters
Section titled “Parameters”encodeFlag?
Section titled “encodeFlag?”boolean = false
Returns
Section titled “Returns”any
asn1js object
Overrides
Section titled “Overrides”toString()
Section titled “toString()”toString(
encoding?):string
Parameters
Section titled “Parameters”encoding?
Section titled “encoding?”"hex" | "base64" | "base64url" = "hex"
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”verify()
Section titled “verify()”verify(
parameters?,crypto?):Promise<boolean>
Verify existing signature
Parameters
Section titled “Parameters”parameters?
Section titled “parameters?”CertificateRevocationListVerifyParams = {}
crypto?
Section titled “crypto?”ICryptoEngine = ...
Crypto engine
Returns
Section titled “Returns”Promise<boolean>
blockName()
Section titled “blockName()”
staticblockName():string
Returns block name
Returns
Section titled “Returns”string
Returns string block name
Inherited from
Section titled “Inherited from”defaultValues()
Section titled “defaultValues()”Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):ArrayBuffer
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"tbs"
String name for a class member
Returns
Section titled “Returns”ArrayBuffer
Default value
Overrides
Section titled “Overrides”Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):number
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"version"
String name for a class member
Returns
Section titled “Returns”number
Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):AlgorithmIdentifier
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"signature"
String name for a class member
Returns
Section titled “Returns”Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):RelativeDistinguishedNames
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"issuer"
String name for a class member
Returns
Section titled “Returns”Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):Time
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"thisUpdate"
String name for a class member
Returns
Section titled “Returns”Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):Time
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"nextUpdate"
String name for a class member
Returns
Section titled “Returns”Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):RevokedCertificate[]
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"revokedCertificates"
String name for a class member
Returns
Section titled “Returns”Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):Extensions
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"crlExtensions"
String name for a class member
Returns
Section titled “Returns”Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):AlgorithmIdentifier
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"signatureAlgorithm"
String name for a class member
Returns
Section titled “Returns”Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
Call Signature
Section titled “Call Signature”
staticdefaultValues(memberName):BitString
Returns default values for all class members
Parameters
Section titled “Parameters”memberName
Section titled “memberName”"signatureValue"
String name for a class member
Returns
Section titled “Returns”BitString
Default value
Overrides
Section titled “Overrides”PkiObject.defaultValues
fromBER()
Section titled “fromBER()”
staticfromBER<T>(this,raw):T
Creates PKI object from the raw data
Type Parameters
Section titled “Type Parameters”T extends PkiObject
Parameters
Section titled “Parameters”PkiObjectConstructor<T>
BufferSource
ASN.1 encoded raw data
Returns
Section titled “Returns”T
Initialized and filled current class object
Inherited from
Section titled “Inherited from”schema()
Section titled “schema()”
staticschema(parameters?):any
Returns value of pre-defined ASN.1 schema for current class
Parameters
Section titled “Parameters”parameters?
Section titled “parameters?”SchemaParameters<{ crlExtensions?: ExtensionsSchema; issuer?: RelativeDistinguishedNamesSchema; signature?: AlgorithmIdentifierSchema; signatureAlgorithm?: AlgorithmIdentifierSchema; signatureValue?: string; tbsCertListNextUpdate?: TimeSchema; tbsCertListRevokedCertificates?: string; tbsCertListThisUpdate?: TimeSchema; tbsCertListVersion?: string; }> = {}
Input parameters for the schema
Returns
Section titled “Returns”any
ASN.1 schema object