AttributeCertificateInfoV1
Represents the AttributeCertificateInfoV1 structure described in RFC5755
Extends
Implements
Constructors
new AttributeCertificateInfoV1()
new AttributeCertificateInfoV1(
parameters
):AttributeCertificateInfoV1
Initializes a new instance of the AttributeCertificateInfoV1 class
Parameters
• parameters: AttributeCertificateInfoV1Parameters
= {}
Initialization parameters
Returns
Overrides
Properties
attrCertValidityPeriod
attrCertValidityPeriod:
AttCertValidityPeriod
Specifies the period for which the AC issuer certifies that the binding between the holder and the attributes fields will be valid
Implementation of
IAttributeCertificateInfoV1
.attrCertValidityPeriod
attributes
attributes:
Attribute
[]
The attributes field gives information about the AC holder
Implementation of
IAttributeCertificateInfoV1
.attributes
baseCertificateID?
optional
baseCertificateID:IssuerSerial
Implementation of
IAttributeCertificateInfoV1
.baseCertificateID
extensions?
optional
extensions:Extensions
The extensions field generally gives information about the AC as opposed to information about the AC holder
Implementation of
IAttributeCertificateInfoV1
.extensions
issuer
issuer:
GeneralNames
Implementation of
IAttributeCertificateInfoV1
.issuer
issuerUniqueID?
optional
issuerUniqueID:BitString
Issuer unique identifier
Implementation of
IAttributeCertificateInfoV1
.issuerUniqueID
serialNumber
serialNumber:
Integer
Implementation of
IAttributeCertificateInfoV1
.serialNumber
signature
signature:
AlgorithmIdentifier
Contains the algorithm identifier used to validate the AC signature
Implementation of
IAttributeCertificateInfoV1
.signature
subjectName?
optional
subjectName:GeneralNames
Implementation of
IAttributeCertificateInfoV1
.subjectName
version
version:
number
The version field MUST have the value of v2
Implementation of
IAttributeCertificateInfoV1
.version
CLASS_NAME
static
CLASS_NAME:string
="AttributeCertificateInfoV1"
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():
AttributeCertificateInfoV1Json
Converts the class to JSON object
Returns
AttributeCertificateInfoV1Json
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
):IssuerSerial
Returns default values for all class members
Parameters
• memberName: "baseCertificateID"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):GeneralNames
Returns default values for all class members
Parameters
• memberName: "subjectName"
String name for a class member
Returns
Default value
Overrides
PkiObject.defaultValues
defaultValues(memberName)
static
defaultValues(memberName
):GeneralNames
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: AttributeCertificateInfoV1Schema
= {}
Input parameters for the schema
Returns
any
ASN.1 schema object