WebCrypto GOST Class: AttributeCertificateInfo

GostASN1. AttributeCertificateInfo

Constructor

new AttributeCertificateInfo()

X.509 Attribute Certificate Definition

X.509 contains the definition of an AC given below. All types that are not defined in this document can be found in [PKIXPROF].
          AttributeCertificateInfo ::= SEQUENCE {
               version              AttCertVersion -- version is v2,
               holder               Holder,
               issuer               AttCertIssuer,
               signature            AlgorithmIdentifier,
               serialNumber         CertificateSerialNumber,
               attrCertValidityPeriod   AttCertValidityPeriod,
               attributes           SEQUENCE OF Attribute,
               issuerUniqueID       UniqueIdentifier OPTIONAL,
               extensions           Extensions OPTIONAL
          }
RFC 3281 references http://tools.ietf.org/html/rfc3281
    
Properties:
Name Type Description
version number The version of the encoded certificate
holder GostASN1.Name Identifies the holder.
issuer GostASN1.Name Identifies the issuer.
signature AlgorithmIdentifier The algorithm identifier for the algorithm used by the CA to sign the certificate.
serialNumber number | string The serial number MUST be a positive integer assigned by the CA to each certificate.
attrCertValidityPeriod GostASN1.Validity The certificate validity period
attributes GostASN1.Attributes The certificate attributes
issuerUniqueID CryptoOperationData The issuer unique identifier
extensions GostASN1.Extensions The certificate extensions
Source:

Extends

Methods

check()

Check the object structure
Inherited From:
Source:

decode(source)

Decode the source to self object
Parameters:
Name Type Description
source FormatedData Encoded data
Inherited From:
Source:

encode(format) → {FormatedData}

Encode the object
Parameters:
Name Type Description
format string Encoding format 'DER', 'CER' or 'PEM'
Inherited From:
Source:
Returns:
Type
FormatedData