Class: IssuerAndSerialNumber
Represents the IssuerAndSerialNumber structure described in RFC5652
Hierarchy
-
↳
IssuerAndSerialNumber
Implements
Constructors
constructor
• new IssuerAndSerialNumber(parameters?
): IssuerAndSerialNumber
Initializes a new instance of the IssuerAndSerialNumber class
Parameters
Name | Type | Description |
---|---|---|
parameters | IssuerAndSerialNumberParameters | Initialization parameters |
Returns
Overrides
Properties
issuer
• issuer: RelativeDistinguishedNames
Certificate issuer name
Implementation of
serialNumber
• serialNumber: Integer
Certificate serial number
Implementation of
IIssuerAndSerialNumber.serialNumber
CLASS_NAME
▪ Static
CLASS_NAME: string
= "IssuerAndSerialNumber"
Name of the class
Overrides
Accessors
className
• get
className(): string
Returns
string
Inherited from
PkiObject.className
Methods
fromSchema
▸ fromSchema(schema
): void
Converts parsed ASN.1 object into current class
Parameters
Name | Type | Description |
---|---|---|
schema | any | ASN.1 schema |
Returns
void
Overrides
toJSON
▸ toJSON(): IssuerAndSerialNumberJson
Converts the class to JSON object
Returns
JSON object
Overrides
toSchema
▸ toSchema(): Sequence
Converts current object to ASN.1 object and sets correct values
Returns
Sequence
ASN.1 object
Overrides
toString
▸ toString(encoding?
): string
Parameters
Name | Type | Default value |
---|---|---|
encoding | "base64" | "base64url" | "hex" | "hex" |
Returns
string
Inherited from
blockName
▸ blockName(): string
Returns block name
Returns
string
Returns string block name
Inherited from
defaultValues
▸ defaultValues(memberName
): RelativeDistinguishedNames
Returns default values for all class members
Parameters
Name | Type | Description |
---|---|---|
memberName | "issuer" | String name for a class member |