AttributeCertificateInfoV2
Represents the AttributeCertificateInfoV2 structure described in RFC5755
Extends
Implements
Constructors
new AttributeCertificateInfoV2()
new AttributeCertificateInfoV2(
parameters
):AttributeCertificateInfoV2
Initializes a new instance of the AttributeCertificateInfoV2 class
Parameters
• parameters: AttributeCertificateInfoV2Parameters
= {}
Initialization parameters
Returns
Overrides
Properties
attrCertValidityPeriod
attrCertValidityPeriod:
AttCertValidityPeriod
Implementation of
IAttributeCertificateInfoV2
.attrCertValidityPeriod
attributes
attributes:
Attribute
[]
Implementation of
IAttributeCertificateInfoV2
.attributes
extensions?
optional
extensions:Extensions
Implementation of
IAttributeCertificateInfoV2
.extensions
holder
holder:
Holder
Implementation of
IAttributeCertificateInfoV2
.holder
issuer
issuer:
GeneralNames
|V2Form
Implementation of
IAttributeCertificateInfoV2
.issuer
issuerUniqueID?
optional
issuerUniqueID:BitString
Implementation of
IAttributeCertificateInfoV2
.issuerUniqueID
serialNumber
serialNumber:
Integer
Implementation of
IAttributeCertificateInfoV2
.serialNumber
signature
signature:
AlgorithmIdentifier
Implementation of
IAttributeCertificateInfoV2
.signature
version
version:
number
Implementation of
IAttributeCertificateInfoV2
.version
CLASS_NAME
static
CLASS_NAME:string
="AttributeCertificateInfoV2"
Name of the class
Overrides
Accessors
className
get
className():string
Returns
string
Inherited from
Methods
fromSchema()
fromSchema(
schema
):void
Converts parsed ASN.1 object into current class
Parameters
• schema: any
ASN.1 schema
Returns
void
Overrides
toJSON()
toJSON():
AttributeCertificateInfoV2Json
Converts the class to JSON object
Returns
AttributeCertificateInfoV2Json
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
• encoding: "base64"
| "base64url"
| "hex"
= "hex"
Returns
string
Inherited from
blockName()
static
blockName():string
Returns block name
Returns
string
Returns string block name
Inherited from
defaultValues()
defaultValues(memberName)
static
defaultValues(memberName
):number
Returns default values for all class members
Parameters
• memberName: "version"
String name for a class member
Returns
number
Default value
Overrides
defaultValues(memberName)
static
defaultValues(memberName
):Holder
Returns default values for all class members
Parameters
• memberName: "holder"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):GeneralNames
|V2Form
Returns default values for all class members
Parameters
• memberName: "issuer"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):AlgorithmIdentifier
Returns default values for all class members
Parameters
• memberName: "signature"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):Integer
Returns default values for all class members
Parameters
• memberName: "serialNumber"
String name for a class member
Returns
Integer
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):AttCertValidityPeriod
Returns default values for all class members
Parameters
• memberName: "attrCertValidityPeriod"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):Attribute
[]
Returns default values for all class members
Parameters
• memberName: "attributes"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):BitString
Returns default values for all class members
Parameters
• memberName: "issuerUniqueID"
String name for a class member
Returns
BitString
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):Extensions
Returns default values for all class members
Parameters
• memberName: "extensions"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
fromBER()
static
fromBER<T
>(this
,raw
):T
Creates PKI object from the raw data
Type Parameters
• T extends PkiObject
Parameters
• this: PkiObjectConstructor
<T
>
• raw: BufferSource
ASN.1 encoded raw data
Returns
T
Initialized and filled current class object
Inherited from
schema()
static
schema(parameters
):any
Returns value of pre-defined ASN.1 schema for current class
Parameters
• parameters: AttributeCertificateInfoV2Schema
= {}
Input parameters for the schema
Returns
any
ASN.1 schema object