From 95203ca9642eb89888cf7926b5d525c02c0d298b Mon Sep 17 00:00:00 2001 From: microshine Date: Thu, 8 Aug 2024 19:17:41 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=209a3b2?= =?UTF-8?q?5b908e8398550b2d7461856bf7536998ff0=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/AlgorithmProvider.html | 8 +-- classes/AsnData.html | 14 ++--- classes/AsnDefaultSignatureFormatter.html | 6 +- classes/AsnEcSignatureFormatter.html | 8 +-- classes/Attribute.html | 18 +++--- classes/AttributeFactory.html | 8 +-- classes/AuthorityInfoAccessExtension.html | 22 ++++---- classes/AuthorityKeyIdentifierExtension.html | 30 +++++----- classes/BasicConstraintsExtension.html | 24 ++++---- classes/CRLDistributionPointsExtension.html | 22 ++++---- classes/CertificatePolicyExtension.html | 22 ++++---- classes/ChallengePasswordAttribute.html | 18 +++--- classes/CryptoProvider.html | 14 ++--- classes/DefaultAlgorithmSerializer.html | 4 +- classes/EcAlgorithm.html | 8 +-- classes/EdAlgorithm.html | 6 +- classes/ExtendedKeyUsageExtension.html | 22 ++++---- classes/Extension.html | 20 +++---- classes/ExtensionFactory.html | 8 +-- classes/ExtensionsAttribute.html | 18 +++--- classes/GeneralName.html | 16 +++--- classes/GeneralNames.html | 12 ++-- classes/KeyUsagesExtension.html | 22 ++++---- classes/Name.html | 26 ++++----- classes/NameIdentifier.html | 4 +- classes/OidSerializer.html | 4 +- classes/PemConverter.html | 16 +++--- classes/Pkcs10CertificateRequest.html | 42 +++++++------- .../Pkcs10CertificateRequestGenerator.html | 4 +- classes/PublicKey.html | 32 +++++------ classes/RsaAlgorithm.html | 6 +- classes/ShaAlgorithm.html | 6 +- classes/SubjectAlternativeNameExtension.html | 20 +++---- classes/SubjectKeyIdentifierExtension.html | 24 ++++---- classes/TextConverter.html | 4 +- classes/TextObject.html | 4 +- classes/X509Certificate.html | 56 +++++++++---------- classes/X509CertificateGenerator.html | 6 +- classes/X509Certificates.html | 24 ++++---- classes/X509ChainBuilder.html | 4 +- classes/X509Crl.html | 56 +++++++++---------- classes/X509CrlEntry.html | 24 ++++---- classes/X509CrlGenerator.html | 4 +- enums/ExtendedKeyUsage.html | 4 +- enums/KeyUsageFlags.html | 4 +- enums/X509CrlReason.html | 4 +- interfaces/AlgorithmSerializer.html | 4 +- interfaces/AuthorityInfoAccessParams.html | 4 +- interfaces/CertificateIdentifier.html | 6 +- interfaces/HashedAlgorithm.html | 4 +- interfaces/IAlgorithm.html | 6 +- interfaces/IAsnSignatureFormatter.html | 6 +- interfaces/IPublicKeyContainer.html | 4 +- interfaces/IdOrName.html | 2 +- interfaces/JsonAttributeAndObjectValue.html | 2 +- interfaces/JsonAttributeAndStringValue.html | 2 +- interfaces/JsonAttributeObject.html | 4 +- interfaces/JsonGeneralName.html | 4 +- interfaces/PemHeader.html | 4 +- interfaces/PemStruct.html | 8 +-- .../Pkcs10CertificateRequestCreateParams.html | 12 ++-- interfaces/TextObjectConvertible.html | 4 +- interfaces/UnknownAlgorithm.html | 4 +- .../X509CertificateCreateCommonParams.html | 12 ++-- .../X509CertificateCreateParamsBase.html | 12 ++-- ...X509CertificateCreateSelfSignedParams.html | 12 ++-- .../X509CertificateCreateWithKeyParams.html | 12 ++-- ...9CertificateCreateWithSignatureParams.html | 16 +++--- interfaces/X509CertificateVerifyParams.html | 4 +- interfaces/X509ChainBuilderParams.html | 4 +- interfaces/X509CrlCreateParams.html | 6 +- interfaces/X509CrlCreateParamsBase.html | 6 +- interfaces/X509CrlEntryParams.html | 6 +- interfaces/X509CrlVerifyParams.html | 4 +- types/AccessItemTypes.html | 2 +- types/AsnDataStringFormat.html | 2 +- types/ExtendedKeyUsageType.html | 2 +- types/GeneralNameType.html | 2 +- types/JsonAttributeAndValue.html | 2 +- types/JsonGeneralNames.html | 2 +- types/JsonName.html | 2 +- types/JsonNameParams.html | 2 +- types/MapForEachCallback.html | 2 +- types/PemStructEncodeParams.html | 2 +- ...s10CertificateRequestCreateParamsName.html | 2 +- types/PublicKeyType.html | 2 +- types/TextObjectItemType.html | 2 +- types/X509CertificateCreateParams.html | 2 +- types/X509CertificateCreateParamsName.html | 2 +- types/X509CertificatesExportType.html | 2 +- variables/cryptoProvider-1.html | 2 +- variables/diAlgorithm.html | 2 +- variables/diAlgorithmProvider.html | 2 +- variables/diAsnSignatureFormatter.html | 2 +- variables/idEd25519.html | 2 +- variables/idEd448.html | 2 +- variables/idX25519.html | 2 +- variables/idX448.html | 2 +- 98 files changed, 475 insertions(+), 475 deletions(-) diff --git a/classes/AlgorithmProvider.html b/classes/AlgorithmProvider.html index acf295a2..38256f35 100644 --- a/classes/AlgorithmProvider.html +++ b/classes/AlgorithmProvider.html @@ -1,13 +1,13 @@ -AlgorithmProvider | @peculiar/x509

Class AlgorithmProvider

Constructors

constructor +AlgorithmProvider | @peculiar/x509

Class AlgorithmProvider

Constructors

Methods

  • Converts WebCrypto algorithm to ASN.1 algorithm

    Parameters

    • alg: Algorithm

      WebCrypto algorithm

    Returns AlgorithmIdentifier

    ASN.1 algorithm

    Throws

    Error whenever cannot convert an algorithm

    -
  • ConvertsASN.1 algorithm to WebCrypto algorithm

    +
  • ConvertsASN.1 algorithm to WebCrypto algorithm

    Parameters

    • alg: AlgorithmIdentifier

      ASN.1 algorithm

    Returns Algorithm

    algorithm

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/classes/AsnData.html b/classes/AsnData.html index 3c538a41..a56e84cb 100644 --- a/classes/AsnData.html +++ b/classes/AsnData.html @@ -1,5 +1,5 @@ AsnData | @peculiar/x509

Class AsnData<T>Abstract

Represents an ASN.1 data

-

Type Parameters

  • T

Hierarchy (view full)

Implements

Constructors

Type Parameters

  • T

Hierarchy (view full)

Implements

Constructors

Properties

Methods

equal @@ -11,11 +11,11 @@

Constructors

  • Creates a new instance

    Type Parameters

    • T

    Parameters

    • raw: BufferSource

      DER encoded buffer

    • type: (new () => T)

      ASN.1 convertible class for @peculiar/asn1-schema schema

      -
        • new (): T
        • Returns T

    Returns AsnData<T>

  • ASN.1 object

    -

    Type Parameters

    • T

    Parameters

    • asn: T

    Returns AsnData<T>

Properties

rawData: ArrayBuffer

Gets a DER encoded buffer

-
NAME: string = "ASN"

Methods

  • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

    +
      • new (): T
      • Returns T

Returns AsnData<T>

  • ASN.1 object

    +

    Type Parameters

    • T

    Parameters

    • asn: T

    Returns AsnData<T>

  • Properties

    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    NAME: string = "ASN"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      Parameters

      • data: any

        Any data

        -

      Returns data is AsnData<T>

    • Occurs on instance initialization

      +

    Returns data is AsnData<T>

    • Occurs on instance initialization

      Parameters

      • asn: T

        ASN.1 object

        -

      Returns void

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/AsnDefaultSignatureFormatter.html b/classes/AsnDefaultSignatureFormatter.html index f77554c9..6d2239ff 100644 --- a/classes/AsnDefaultSignatureFormatter.html +++ b/classes/AsnDefaultSignatureFormatter.html @@ -2,11 +2,11 @@

    To register it's implementation in global use tsyringe container

    Example

    import { container } from "tsyringe";

    container.registerSingleton(diAsnSignatureFormatter, AsnDefaultSignatureFormatter);
    -

    Implements

    Constructors

    Implements

    Constructors

    Methods

    \ No newline at end of file +

    Returns null | ArrayBuffer

    \ No newline at end of file diff --git a/classes/AsnEcSignatureFormatter.html b/classes/AsnEcSignatureFormatter.html index 21cfbf48..e4eb81c5 100644 --- a/classes/AsnEcSignatureFormatter.html +++ b/classes/AsnEcSignatureFormatter.html @@ -2,15 +2,15 @@

    To register it's implementation in global use tsyringe container

    Example

    import { container } from "tsyringe";

    container.registerSingleton(diAsnSignatureFormatter, AsnDefaultSignatureFormatter);
    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    defaultNamedCurveSize: number = 32
    namedCurveSize: Map<string, number> = ...

    Methods

    • Parameters

      • data: BufferSource
      • positive: boolean = false

      Returns ArrayBufferLike

    • Converts ASN.1 signature to WebCrypto format

      +

    Constructors

    Properties

    defaultNamedCurveSize: number = 32
    namedCurveSize: Map<string, number> = ...

    Methods

    • Parameters

      • data: BufferSource
      • positive: boolean = false

      Returns ArrayBufferLike

    • Converts ASN.1 signature to WebCrypto format

      Parameters

      • algorithm: Algorithm

        Key and signing algorithm

      • signature: BufferSource

        ASN.1 signature value in DER format

        -

      Returns null | ArrayBuffer

    \ No newline at end of file +

    Returns null | ArrayBuffer

    \ No newline at end of file diff --git a/classes/Attribute.html b/classes/Attribute.html index 34d0de4e..36418120 100644 --- a/classes/Attribute.html +++ b/classes/Attribute.html @@ -1,5 +1,5 @@ Attribute | @peculiar/x509

    Represents the Attribute structure

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    rawData type values @@ -14,14 +14,14 @@

    Constructors

    • Crates a new instance

      Parameters

      • type: string

        Attribute identifier

      • Optional values: BufferSource[]

        List of DER encoded attribute values

        -

      Returns Attribute

    • Crates a new instance from DER encoded buffer

      +

    Returns Attribute

  • Crates a new instance from DER encoded buffer

    Parameters

    • raw: BufferSource

      DER encoded buffer

      -

    Returns Attribute

  • Properties

    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an attribute identifier

    -
    values: ArrayBuffer[]

    Gets a list of DER encoded attribute values

    -
    NAME: string = "Attribute"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns Attribute

    Properties

    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an attribute identifier

    +
    values: ArrayBuffer[]

    Gets a list of DER encoded attribute values

    +
    NAME: string = "Attribute"

    Methods

    • Occurs on instance initialization

      +

    Returns data is Attribute

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/AttributeFactory.html b/classes/AttributeFactory.html index 10e6cab7..0bb13d21 100644 --- a/classes/AttributeFactory.html +++ b/classes/AttributeFactory.html @@ -1,15 +1,15 @@ AttributeFactory | @peculiar/x509

    Class AttributeFactory

    Static class to manage X509 attributes

    -

    Constructors

    Constructors

    Properties

    Methods

    Constructors

    Properties

    items: Map<string, typeof Attribute> = ...

    Methods

    • Returns X509 Attribute based on it's identifier

      +

    Constructors

    Properties

    items: Map<string, typeof Attribute> = ...

    Methods

    • Registers a new X509 Attribute class. If id already exists replaces it

      Parameters

      • id: string

        Attribute identifier

      • type: any

        Attribute class

      Returns void

      Example

      AttributeFactory.register(asnPkcs9.id_pkcs9_at_challengePassword, ChallengePasswordAttribute);
       
      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/AuthorityInfoAccessExtension.html b/classes/AuthorityInfoAccessExtension.html index 29c5a1a3..3143846c 100644 --- a/classes/AuthorityInfoAccessExtension.html +++ b/classes/AuthorityInfoAccessExtension.html @@ -1,5 +1,5 @@ AuthorityInfoAccessExtension | @peculiar/x509

    Class AuthorityInfoAccessExtension

    Represents the Authority Info Access certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Returns AuthorityInfoAccessExtension

  • Creates a new instance

    Parameters

    • value: AuthorityInfoAccessSyntax

      The value of the extension

    • Optional critical: boolean

      Indicates whether the extension is critical. Default is false

      -

    Returns AuthorityInfoAccessExtension

  • Creates a new instance

    +
  • Returns AuthorityInfoAccessExtension

  • Creates a new instance

    Parameters

    • params: AuthorityInfoAccessParams

      The value of the extension

    • Optional critical: boolean

      Indicates whether the extension is critical. Default is false

      -

    Returns AuthorityInfoAccessExtension

  • Properties

    caIssuers: GeneralName[]
    caRepository: GeneralName[]
    critical: boolean

    Indicates where extension is critical

    -
    ocsp: GeneralName[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    timeStamping: GeneralName[]
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Authority Info Access"

    Methods

    Returns AuthorityInfoAccessExtension

    Properties

    caIssuers: GeneralName[]
    caRepository: GeneralName[]
    critical: boolean

    Indicates where extension is critical

    +
    ocsp: GeneralName[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    timeStamping: GeneralName[]
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Authority Info Access"

    Methods

    • Occurs on instance initialization

      +

    Returns data is AuthorityInfoAccessExtension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/AuthorityKeyIdentifierExtension.html b/classes/AuthorityKeyIdentifierExtension.html index ec836431..5d60e3e7 100644 --- a/classes/AuthorityKeyIdentifierExtension.html +++ b/classes/AuthorityKeyIdentifierExtension.html @@ -1,5 +1,5 @@ AuthorityKeyIdentifierExtension | @peculiar/x509

    Class AuthorityKeyIdentifierExtension

    Represents the Authority Key Identifier certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    certId? critical keyId? @@ -17,29 +17,29 @@ create

    Constructors

    Returns AuthorityKeyIdentifierExtension

  • Creates a new instance

    Parameters

    • identifier: string

      Hexadecimal representation of key identifier

    • Optional critical: boolean

      Indicates where extension is critical. Default is false

      -

    Returns AuthorityKeyIdentifierExtension

  • Creates a new instance

    +
  • Returns AuthorityKeyIdentifierExtension

  • Creates a new instance

    Parameters

    • id: CertificateIdentifier

      Certificate identifier in the issuer name and serial number

    • Optional critical: boolean

      Indicates where extension is critical. Default is false

      -

    Returns AuthorityKeyIdentifierExtension

  • Properties

    Gets a certificate identifier in the issuer name and serial number

    -
    critical: boolean

    Indicates where extension is critical

    -
    keyId?: string

    Gets a hexadecimal representation of key identifier

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Authority Key Identifier"

    Methods

    Returns AuthorityKeyIdentifierExtension

    Properties

    Gets a certificate identifier in the issuer name and serial number

    +
    critical: boolean

    Indicates where extension is critical

    +
    keyId?: string

    Gets a hexadecimal representation of key identifier

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Authority Key Identifier"

    Methods

    • Occurs on instance initialization

      +

    Returns data is AuthorityKeyIdentifierExtension

    Returns void

    Returns Promise<AuthorityKeyIdentifierExtension>

  • Creates authority key identifier extension from public key data

    Parameters

    • publicKey: PublicKeyType

      Public key data

    • Optional critical: boolean

      Indicates where extension is critical. Default is false

    • Optional crypto: Crypto

      WebCrypto provider. Default is from CryptoProvider

      -

    Returns Promise<AuthorityKeyIdentifierExtension>

  • \ No newline at end of file +

    Returns Promise<AuthorityKeyIdentifierExtension>

    \ No newline at end of file diff --git a/classes/BasicConstraintsExtension.html b/classes/BasicConstraintsExtension.html index f51f0d1e..793a0842 100644 --- a/classes/BasicConstraintsExtension.html +++ b/classes/BasicConstraintsExtension.html @@ -1,5 +1,5 @@ BasicConstraintsExtension | @peculiar/x509

    Class BasicConstraintsExtension

    Represents the Basic Constraints certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    ca: boolean

    Indicates whether the certified public key may be used +

    Returns BasicConstraintsExtension

  • Creates a new instance

    +

    Parameters

    • ca: boolean
    • Optional pathLength: number
    • Optional critical: boolean

    Returns BasicConstraintsExtension

  • Properties

    ca: boolean

    Indicates whether the certified public key may be used to verify certificate signatures

    -
    critical: boolean

    Indicates where extension is critical

    -
    pathLength?: number

    Gets a maximum number of non-self-issued intermediate certificates that may +

    critical: boolean

    Indicates where extension is critical

    +
    pathLength?: number

    Gets a maximum number of non-self-issued intermediate certificates that may follow this certificate in a valid certification path

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Basic Constraints"

    Methods

    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Basic Constraints"

    Methods

    • Occurs on instance initialization

      +

    Returns data is BasicConstraintsExtension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/CRLDistributionPointsExtension.html b/classes/CRLDistributionPointsExtension.html index 7b95138c..43cbfb61 100644 --- a/classes/CRLDistributionPointsExtension.html +++ b/classes/CRLDistributionPointsExtension.html @@ -1,5 +1,5 @@ CRLDistributionPointsExtension | @peculiar/x509

    Class CRLDistributionPointsExtension

    Represents the CRL Distribution Points extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Returns CRLDistributionPointsExtension

  • Creates a new instance

    Parameters

    • value: DistributionPoint[]

      The value of the extension

    • Optional critical: boolean

      Indicates whether the extension is critical. Default is false

      -

    Returns CRLDistributionPointsExtension

  • Creates a new instance from an array of URLs

    +
  • Returns CRLDistributionPointsExtension

  • Creates a new instance from an array of URLs

    Parameters

    • urls: string[]

      An array of URLs to be used as distribution points.

    • Optional critical: boolean

      Indicates whether the extension is critical. Default is false

      -

    Returns CRLDistributionPointsExtension

  • Properties

    critical: boolean

    Indicates where extension is critical

    -
    distributionPoints: DistributionPoint[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "CRL Distribution Points"

    Methods

    Returns CRLDistributionPointsExtension

    Properties

    critical: boolean

    Indicates where extension is critical

    +
    distributionPoints: DistributionPoint[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "CRL Distribution Points"

    Methods

    • Occurs on instance initialization

      +

    Returns data is CRLDistributionPointsExtension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/CertificatePolicyExtension.html b/classes/CertificatePolicyExtension.html index aa999e6b..8c363999 100644 --- a/classes/CertificatePolicyExtension.html +++ b/classes/CertificatePolicyExtension.html @@ -1,5 +1,5 @@ CertificatePolicyExtension | @peculiar/x509

    Class CertificatePolicyExtension

    Represents the Certificate Policy extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    critical: boolean

    Indicates where extension is critical

    -
    policies: readonly string[]

    Gets the list of certificate policies

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Certificate Policies"

    Methods

    Returns CertificatePolicyExtension

  • Creates a new instance

    +

    Parameters

    • policies: string[]
    • Optional critical: boolean

    Returns CertificatePolicyExtension

  • Properties

    critical: boolean

    Indicates where extension is critical

    +
    policies: readonly string[]

    Gets the list of certificate policies

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Certificate Policies"

    Methods

    • Occurs on instance initialization

      +

    Returns data is CertificatePolicyExtension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/ChallengePasswordAttribute.html b/classes/ChallengePasswordAttribute.html index e9c3c577..871055d3 100644 --- a/classes/ChallengePasswordAttribute.html +++ b/classes/ChallengePasswordAttribute.html @@ -1,5 +1,5 @@ ChallengePasswordAttribute | @peculiar/x509

    Class ChallengePasswordAttribute

    Represents the Attribute structure

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    password: string
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an attribute identifier

    -
    values: ArrayBuffer[]

    Gets a list of DER encoded attribute values

    -
    NAME: string = "Challenge Password"

    Methods

    Returns ChallengePasswordAttribute

  • Creates a new instance

    +

    Parameters

    • value: string

    Returns ChallengePasswordAttribute

  • Properties

    password: string
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an attribute identifier

    +
    values: ArrayBuffer[]

    Gets a list of DER encoded attribute values

    +
    NAME: string = "Challenge Password"

    Methods

    • Occurs on instance initialization

      +

    Returns data is ChallengePasswordAttribute

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/CryptoProvider.html b/classes/CryptoProvider.html index e70e0c34..3c636a46 100644 --- a/classes/CryptoProvider.html +++ b/classes/CryptoProvider.html @@ -1,5 +1,5 @@ CryptoProvider | @peculiar/x509

    Class CryptoProvider

    Crypto provider

    -

    Implements

    • Map<string, Crypto>

    Constructors

    Implements

    • Map<string, Crypto>

    Constructors

    Properties

    Constructors

    Properties

    [toStringTag]: string = "CryptoProvider"
    items: Map<string, Crypto> = ...
    DEFAULT: string = "default"

    Accessors

    Methods

    • Returns IterableIterator<[string, Crypto]>

    • Parameters

      • key: string

      Returns boolean

    • Returns IterableIterator<[string, Crypto]>

    Properties

    [toStringTag]: string = "CryptoProvider"
    items: Map<string, Crypto> = ...
    DEFAULT: string = "default"

    Accessors

    Methods

    • Returns IterableIterator<[string, Crypto]>

    • Parameters

      • key: string

      Returns boolean

    • Returns IterableIterator<[string, Crypto]>

    • Returns default crypto

      Returns Crypto

      Throws

      Error whenever default provider not set

      -
    • Returns crypto by name

      +
    • Returns crypto by name

      Parameters

      • key: string

        Crypto name

      Returns Crypto

      Throws

      Error whenever provider with specified identifier does not exist

      -
    • Parameters

      • key: string

      Returns boolean

    • Returns IterableIterator<string>

    • Sets default crypto

      -

      Parameters

      • value: Crypto

      Returns this

    • Sets crypto with specified identifier

      +
    • Parameters

      • key: string

      Returns boolean

    • Returns IterableIterator<string>

    • Sets default crypto

      +

      Parameters

      • value: Crypto

      Returns this

    • Sets crypto with specified identifier

      Parameters

      • key: string

        Identifier

      • value: Crypto

        crypto provider

        -

      Returns this

    • Returns IterableIterator<Crypto>

    • Parameters

      • data: any

      Returns data is CryptoKey

    • Returns true if data is CryptoKeyPair

      -

      Parameters

      • data: any

      Returns data is CryptoKeyPair

    \ No newline at end of file +

    Returns this

    \ No newline at end of file diff --git a/classes/DefaultAlgorithmSerializer.html b/classes/DefaultAlgorithmSerializer.html index 8c34b7e5..5ead3897 100644 --- a/classes/DefaultAlgorithmSerializer.html +++ b/classes/DefaultAlgorithmSerializer.html @@ -1,3 +1,3 @@ -DefaultAlgorithmSerializer | @peculiar/x509

    Class DefaultAlgorithmSerializerAbstract

    Constructors

    constructor +DefaultAlgorithmSerializer | @peculiar/x509

    Class DefaultAlgorithmSerializerAbstract

    Constructors

    Methods

    Constructors

    Methods

    \ No newline at end of file +

    Constructors

    Methods

    \ No newline at end of file diff --git a/classes/EcAlgorithm.html b/classes/EcAlgorithm.html index 19a976f2..6d96e84d 100644 --- a/classes/EcAlgorithm.html +++ b/classes/EcAlgorithm.html @@ -1,12 +1,12 @@ EcAlgorithm | @peculiar/x509

    Class EcAlgorithm

    EC algorithm provider

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    SECP256K1: string = "1.3.132.0.10"

    Methods

    • Converts WebCrypto algorithm to ASN.1 algorithm

      +

    Constructors

    Properties

    SECP256K1: string = "1.3.132.0.10"

    Methods

    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/EdAlgorithm.html b/classes/EdAlgorithm.html index 0754d4b9..2c70fb9e 100644 --- a/classes/EdAlgorithm.html +++ b/classes/EdAlgorithm.html @@ -1,11 +1,11 @@ EdAlgorithm | @peculiar/x509

    Class EdAlgorithm

    ECDH-ES and EdDSA algorithm provider

    -

    Implements

    Constructors

    Implements

    Constructors

    Methods

    • Converts WebCrypto algorithm to ASN.1 algorithm

      Parameters

      • alg: EcKeyGenParams

        WebCrypto algorithm

      Returns null | AlgorithmIdentifier

      ASN.1 algorithm or null

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/ExtendedKeyUsageExtension.html b/classes/ExtendedKeyUsageExtension.html index 5bbff5e8..92d565ec 100644 --- a/classes/ExtendedKeyUsageExtension.html +++ b/classes/ExtendedKeyUsageExtension.html @@ -1,5 +1,5 @@ ExtendedKeyUsageExtension | @peculiar/x509

    Class ExtendedKeyUsageExtension

    Represents the Extended Key Usage certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    critical: boolean

    Indicates where extension is critical

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -

    Gets a list of purposes for which the certified public key may be used

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Extended Key Usages"

    Methods

    Returns ExtendedKeyUsageExtension

  • Creates a new instance

    +

    Parameters

    Returns ExtendedKeyUsageExtension

  • Properties

    critical: boolean

    Indicates where extension is critical

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +

    Gets a list of purposes for which the certified public key may be used

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Extended Key Usages"

    Methods

    • Occurs on instance initialization

      +

    Returns data is ExtendedKeyUsageExtension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/Extension.html b/classes/Extension.html index 878b9b90..5c3c27ef 100644 --- a/classes/Extension.html +++ b/classes/Extension.html @@ -1,5 +1,5 @@ Extension | @peculiar/x509

    Represents the certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Returns Extension

  • Creates a new instance

    Parameters

    • type: string

      Extension identifier

    • critical: boolean

      Indicates where extension is critical

    • value: BufferSource

      DER encoded value of extension

      -

    Returns Extension

  • Properties

    critical: boolean

    Indicates where extension is critical

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "ASN"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns Extension

    Properties

    critical: boolean

    Indicates where extension is critical

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "ASN"

    Methods

    • Occurs on instance initialization

      +

    Returns data is Extension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/ExtensionFactory.html b/classes/ExtensionFactory.html index 38ff5bad..45ee97f2 100644 --- a/classes/ExtensionFactory.html +++ b/classes/ExtensionFactory.html @@ -1,15 +1,15 @@ ExtensionFactory | @peculiar/x509

    Class ExtensionFactory

    Static class to manage X509 extensions

    -

    Constructors

    Constructors

    Properties

    Methods

    Constructors

    Properties

    items: Map<string, typeof Extension> = ...

    Methods

    • Returns X509 Extension based on it's identifier

      +

    Constructors

    Properties

    items: Map<string, typeof Extension> = ...

    Methods

    • Registers a new X509 Extension class. If id already exists replaces it

      Parameters

      • id: string

        Extension identifier

      • type: any

        Extension class

      Returns void

      Example

      ExtensionFactory.register(asnX509.id_ce_basicConstraints, extensions.BasicConstraintsExtension);
       
      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/ExtensionsAttribute.html b/classes/ExtensionsAttribute.html index 89ed184a..2892c648 100644 --- a/classes/ExtensionsAttribute.html +++ b/classes/ExtensionsAttribute.html @@ -1,5 +1,5 @@ ExtensionsAttribute | @peculiar/x509

    Class ExtensionsAttribute

    Represents the Attribute structure

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    items: Extension[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an attribute identifier

    -
    values: ArrayBuffer[]

    Gets a list of DER encoded attribute values

    -
    NAME: string = "Extensions"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns ExtensionsAttribute

  • Creates a new instance

    +

    Parameters

    Returns ExtensionsAttribute

  • Properties

    items: Extension[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an attribute identifier

    +
    values: ArrayBuffer[]

    Gets a list of DER encoded attribute values

    +
    NAME: string = "Extensions"

    Methods

    • Occurs on instance initialization

      +

    Returns data is ExtensionsAttribute

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/GeneralName.html b/classes/GeneralName.html index 132c80af..c5f0efc3 100644 --- a/classes/GeneralName.html +++ b/classes/GeneralName.html @@ -1,6 +1,6 @@ GeneralName | @peculiar/x509

    Class GeneralName

    Represents ASN.1 type of GeneralName.

    This class doesn't support no standard string format is defined for otherName, X.400 name, EDI party name, or any other type of names.

    -

    Hierarchy (view full)

    • AsnData<asn1X509.GeneralName>
      • GeneralName

    Constructors

    Hierarchy (view full)

    • AsnData<asn1X509.GeneralName>
      • GeneralName

    Constructors

    Properties

    Constructors

    Properties

    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -

    Type of the storing value

    -
    value: string

    Text representation of ASN.1 GeneralName

    -
    NAME: string = "ASN"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Constructors

    Properties

    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +

    Type of the storing value

    +
    value: string

    Text representation of ASN.1 GeneralName

    +
    NAME: string = "ASN"

    Methods

    • Occurs on instance initialization

      +

    Returns data is GeneralName

    • Occurs on instance initialization

      Parameters

      • asn: GeneralName

      Returns void

      Throws

      Throws error if ASN.1 GeneralName contains unsupported value (eg otherName, X400 address, EDI party name)

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/GeneralNames.html b/classes/GeneralNames.html index 3b767268..bed5e2c4 100644 --- a/classes/GeneralNames.html +++ b/classes/GeneralNames.html @@ -1,5 +1,5 @@ GeneralNames | @peculiar/x509

    Class GeneralNames

    Represents an ASN.1 data

    -

    Hierarchy (view full)

    • AsnData<asn1X509.GeneralNames>
      • GeneralNames

    Constructors

    Hierarchy (view full)

    • AsnData<asn1X509.GeneralNames>
      • GeneralNames

    Constructors

    Properties

    Constructors

    Properties

    items: readonly GeneralName[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    NAME: string = "GeneralNames"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Constructors

    Properties

    items: readonly GeneralName[]
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    NAME: string = "GeneralNames"

    Methods

    • Occurs on instance initialization

      +

    Returns data is GeneralNames

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/KeyUsagesExtension.html b/classes/KeyUsagesExtension.html index 7cf7505c..e9c0e246 100644 --- a/classes/KeyUsagesExtension.html +++ b/classes/KeyUsagesExtension.html @@ -1,5 +1,5 @@ KeyUsagesExtension | @peculiar/x509

    Class KeyUsagesExtension

    Represents the Key Usage certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    critical: boolean

    Indicates where extension is critical

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -

    Gets a key usages flag

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Key Usages"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns KeyUsagesExtension

  • Creates a new instance

    +

    Parameters

    Returns KeyUsagesExtension

  • Properties

    critical: boolean

    Indicates where extension is critical

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +

    Gets a key usages flag

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Key Usages"

    Methods

    • Occurs on instance initialization

      +

    Returns data is KeyUsagesExtension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/Name.html b/classes/Name.html index feb45cec..c82a7bcd 100644 --- a/classes/Name.html +++ b/classes/Name.html @@ -1,6 +1,6 @@ Name | @peculiar/x509

    UTF-8 String Representation of Distinguished Names

    https://tools.ietf.org/html/rfc2253

    -

    Constructors

    Constructors

    Properties

    Methods

    fromJSON @@ -17,24 +17,24 @@

    Parameters

    • data: string | BufferSource | JsonNameParams | Name
    • extraNames: IdOrName = {}

      Extra identifiers for name customization

    Returns Name

    Example

    const text = "URL=http://some.url.com, IP=192.168.0.1, GUID={8ee13e53-2c1c-42bb-8df7-39927c0bdbb6}";
    const name = new x509.Name(text, {
    "Email": "1.2.3.4.5.1",
    "IP": "1.2.3.4.5.2",
    "GUID": "1.2.3.4.5.3",
    });
    -

    Properties

    asn: Name = ...

    ASN.1 Name

    -
    extraNames: NameIdentifier = ...

    Methods

    • Creates AsnName object from string

      -

      Parameters

      • data: string

      Returns Name

    • Returns a list of string values filtered by specified id or name

      +

    Properties

    asn: Name = ...

    ASN.1 Name

    +
    extraNames: NameIdentifier = ...

    Methods

    • Creates AsnName object from string

      +

      Parameters

      • data: string

      Returns Name

    • Returns a list of string values filtered by specified id or name

      Parameters

      • idOrName: string

        ObjectIdentifier or string name

      Returns string[]

      Returns a list of strings. Returns an empty list if there are not any values for specified id/name.

      -
    • Parameters

      • idOrName: string

      Returns null | string

    • Returns a SHA-1 thumbprint

      +
    • Parameters

      • idOrName: string

      Returns null | string

    • Returns a SHA-1 thumbprint

      Parameters

      • Optional crypto: Crypto

        Crypto provider. Default is from CryptoProvider

        -

      Returns Promise<ArrayBuffer>

    • Returns a thumbprint for specified mechanism

      +

    Returns Promise<ArrayBuffer>

  • Returns a thumbprint for specified mechanism

    Parameters

    • algorithm: AlgorithmIdentifier

      Hash algorithm

    • Optional crypto: Crypto

      Crypto provider. Default is from CryptoProvider

      -

    Returns Promise<ArrayBuffer>

    • Returns Name in DER encoded format

      -

      Returns ArrayBuffer

    • Returns string serialized Name

      -

      Returns string

    • Returns true if text is ASCII otherwise false

      +

    Returns Promise<ArrayBuffer>

    • Returns Name in DER encoded format

      +

      Returns ArrayBuffer

    • Returns string serialized Name

      +

      Returns string

    • Returns true if text is ASCII otherwise false

      Parameters

      • text: string

        Text

        -

      Returns boolean

    • Checks if a given string is a printable string. +

    Returns boolean

    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/NameIdentifier.html b/classes/NameIdentifier.html index 86949f7a..9067a058 100644 --- a/classes/NameIdentifier.html +++ b/classes/NameIdentifier.html @@ -1,6 +1,6 @@ -NameIdentifier | @peculiar/x509

    Class NameIdentifier

    Constructors

    constructor +NameIdentifier | @peculiar/x509

    Class NameIdentifier

    Constructors

    Properties

    Methods

    Constructors

    Properties

    items: IdOrName = {}

    Methods

    • Parameters

      • idOrName: string

      Returns null | string

    • Parameters

      • idOrName: string

      Returns null | string

    • Parameters

      • id: string
      • name: string

      Returns void

    \ No newline at end of file +

    Constructors

    Properties

    items: IdOrName = {}

    Methods

    • Parameters

      • idOrName: string

      Returns null | string

    • Parameters

      • idOrName: string

      Returns null | string

    • Parameters

      • id: string
      • name: string

      Returns void

    \ No newline at end of file diff --git a/classes/OidSerializer.html b/classes/OidSerializer.html index da270ed0..46c1db2a 100644 --- a/classes/OidSerializer.html +++ b/classes/OidSerializer.html @@ -1,4 +1,4 @@ -OidSerializer | @peculiar/x509

    Class OidSerializerAbstract

    Constructors

    constructor +OidSerializer | @peculiar/x509

    Class OidSerializerAbstract

    Constructors

    Properties

    Methods

    Constructors

    Properties

    items: Record<string, string> = ...

    Methods

    \ No newline at end of file +

    Constructors

    Properties

    items: Record<string, string> = ...

    Methods

    \ No newline at end of file diff --git a/classes/PemConverter.html b/classes/PemConverter.html index ad61c719..7daaf8c9 100644 --- a/classes/PemConverter.html +++ b/classes/PemConverter.html @@ -1,5 +1,5 @@ PemConverter | @peculiar/x509

    Class PemConverter

    Represents PEM Converter.

    -

    Constructors

    Constructors

    Properties

    Constructors

    Properties

    CertificateRequestTag: string = "CERTIFICATE REQUEST"
    CertificateTag: string = "CERTIFICATE"
    CrlTag: string = "CRL"
    PrivateKeyTag: string = "PRIVATE KEY"
    PublicKeyTag: string = "PUBLIC KEY"

    Methods

    • Decodes PEM to a list of raws

      +

    Constructors

    Properties

    CertificateRequestTag: string = "CERTIFICATE REQUEST"
    CertificateTag: string = "CERTIFICATE"
    CrlTag: string = "CRL"
    PrivateKeyTag: string = "PRIVATE KEY"
    PublicKeyTag: string = "PUBLIC KEY"

    Methods

    • Decodes PEM to a list of raws

      Parameters

      • pem: string

        message in PEM format

        -

      Returns ArrayBuffer[]

    • Decodes PEM and returns first item from the list

      +

    Returns ArrayBuffer[]

    • Decodes PEM and returns first item from the list

      Parameters

      • pem: string

        message in PEM format

      Returns ArrayBuffer

      Throw

      Throws RangeError if list of decoded items is empty

      -
    • Encodes a list of PemStruct in PEM format

      Parameters

      Returns string

    • Encodes a raw data in PEM format

      +

    Returns string

  • Encodes a raw data in PEM format

    Parameters

    • rawData: BufferSource

      Raw data

    • tag: string

      PEM tag

      -

    Returns string

  • Encodes a list of raws in PEM format

    +
  • Returns string

  • Encodes a list of raws in PEM format

    Parameters

    • rawData: BufferSource[]
    • tag: string

      PEM tag

      -

    Returns string

  • Returns string

    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/Pkcs10CertificateRequest.html b/classes/Pkcs10CertificateRequest.html index 4b1559f6..426bc097 100644 --- a/classes/Pkcs10CertificateRequest.html +++ b/classes/Pkcs10CertificateRequest.html @@ -1,5 +1,5 @@ Pkcs10CertificateRequest | @peculiar/x509

    Class Pkcs10CertificateRequest

    Representation of PKCS10 Certificate Request

    -

    Hierarchy

    • PemData<CertificationRequest>
      • Pkcs10CertificateRequest

    Implements

    Constructors

    Hierarchy

    • PemData<CertificationRequest>
      • Pkcs10CertificateRequest

    Implements

    Constructors

    Properties

    Constructors

    Returns Pkcs10CertificateRequest

  • Creates a new instance from ASN.1 CertificationRequest

    Parameters

    • asn: CertificationRequest

      ASN.1 CertificationRequest

      -

    Returns Pkcs10CertificateRequest

  • Properties

    attributes: Attribute[]

    Gets a list fo CSR attributes

    -
    extensions: Extension[]

    Gets a list of CSR extensions

    -
    publicKey: PublicKey

    Gets a public key of CSR

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    signature: ArrayBuffer

    Gets a signature

    -
    signatureAlgorithm: HashedAlgorithm

    Gets a signature algorithm

    -
    subject: string

    Gets a string subject name

    -
    subjectName: Name

    Gets the subject value from the certificate as an Name

    -
    tag: string
    tbs: ArrayBuffer

    ToBeSigned block of CSR

    -
    NAME: string = "PKCS#10 Certificate Request"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns Pkcs10CertificateRequest

    Properties

    attributes: Attribute[]

    Gets a list fo CSR attributes

    +
    extensions: Extension[]

    Gets a list of CSR extensions

    +
    publicKey: PublicKey

    Gets a public key of CSR

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    signature: ArrayBuffer

    Gets a signature

    +
    signatureAlgorithm: HashedAlgorithm

    Gets a signature algorithm

    +
    subject: string

    Gets a string subject name

    +
    subjectName: Name

    Gets the subject value from the certificate as an Name

    +
    tag: string
    tbs: ArrayBuffer

    ToBeSigned block of CSR

    +
    NAME: string = "PKCS#10 Certificate Request"

    Methods

    • Returns attribute of the specified type

      +

    Returns data is Pkcs10CertificateRequest

    Returns Attribute[]

    Returns Extension[]

    Returns string

    Returns Promise<boolean>

    \ No newline at end of file +

    Returns ArrayBuffer

    \ No newline at end of file diff --git a/classes/Pkcs10CertificateRequestGenerator.html b/classes/Pkcs10CertificateRequestGenerator.html index 3319f53c..61e270c3 100644 --- a/classes/Pkcs10CertificateRequestGenerator.html +++ b/classes/Pkcs10CertificateRequestGenerator.html @@ -1,7 +1,7 @@ Pkcs10CertificateRequestGenerator | @peculiar/x509

    Class Pkcs10CertificateRequestGenerator

    Generator of PKCS10 certificate requests

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    \ No newline at end of file +

    Returns Promise<Pkcs10CertificateRequest>

    \ No newline at end of file diff --git a/classes/PublicKey.html b/classes/PublicKey.html index a111c948..bcedc7cd 100644 --- a/classes/PublicKey.html +++ b/classes/PublicKey.html @@ -1,5 +1,5 @@ PublicKey | @peculiar/x509

    Representation of Subject Public Key Info

    -

    Hierarchy

    • PemData<SubjectPublicKeyInfo>
      • PublicKey

    Constructors

    Hierarchy

    • PemData<SubjectPublicKeyInfo>
      • PublicKey

    Constructors

    Properties

    algorithm rawData tag @@ -18,34 +18,34 @@ toArrayBuffer

    Constructors

    • Creates a new instance from ASN.1

      Parameters

      • asn: SubjectPublicKeyInfo

        ASN.1 object

        -

      Returns PublicKey

    • Creates a new instance

      +

    Returns PublicKey

  • Creates a new instance

    Parameters

    • raw: AsnEncodedType

      Encoded buffer (DER, PEM, HEX, Base64, Base64Url)

      -

    Returns PublicKey

  • Properties

    algorithm: Algorithm

    Gets a key algorithm

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    tag: string
    NAME: string = "ASN"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns PublicKey

    Properties

    algorithm: Algorithm

    Gets a key algorithm

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    tag: string
    NAME: string = "ASN"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      Parameters

      • data: any

        Any data

        -

      Returns data is PublicKey

    • Returns a public CryptoKey

      +

    Returns data is PublicKey

    Returns Promise<CryptoKey>

  • Returns a public CryptoKey with specified parameters

    Parameters

    • algorithm: Algorithm | RsaHashedImportParams | EcKeyImportParams

      Algorithm

    • keyUsages: KeyUsage[]

      A list of key usages

    • Optional crypto: Crypto

      Crypto provider. Default is from CryptoProvider

      -

    Returns Promise<CryptoKey>

  • Returns Promise<CryptoKey>

    Returns Promise<ArrayBuffer>

  • Returns Subject Key Identifier for specified algorithm

    Parameters

    • algorithm: AlgorithmIdentifier

      Hash algorithm

    • Optional crypto: Crypto

      Crypto provider. Default is from CryptoProvider

      -

    Returns Promise<ArrayBuffer>

  • Returns Promise<ArrayBuffer>

    Returns Promise<ArrayBuffer>

  • Returns a public key thumbprint for specified mechanism

    Parameters

    • algorithm: AlgorithmIdentifier

      Hash algorithm

    • Optional crypto: Crypto

      Crypto provider. Default is from CryptoProvider

      -

    Returns Promise<ArrayBuffer>

  • Returns Promise<ArrayBuffer>

    Returns string

    Returns Promise<PublicKey>

    \ No newline at end of file +

    Returns ArrayBuffer

    \ No newline at end of file diff --git a/classes/RsaAlgorithm.html b/classes/RsaAlgorithm.html index d1e37471..852ccbb8 100644 --- a/classes/RsaAlgorithm.html +++ b/classes/RsaAlgorithm.html @@ -1,5 +1,5 @@ RsaAlgorithm | @peculiar/x509

    Class RsaAlgorithm

    RSA algorithm provider

    -

    Implements

    Constructors

    Implements

    Constructors

    Methods

    Constructors

    Methods

    • Converts WebCrypto algorithm to ASN.1 algorithm

      Parameters

      • alg: Algorithm

        WebCrypto algorithm

      Returns null | AlgorithmIdentifier

      ASN.1 algorithm or null

      -
    • Parameters

      • hash: unknown
      • saltLength: number

      Returns null | RsaSaPssParams

    • Parameters

      • alg: unknown

      Returns null | AlgorithmIdentifier

    \ No newline at end of file +
    • Parameters

      • hash: unknown
      • saltLength: number

      Returns null | RsaSaPssParams

    • Parameters

      • alg: unknown

      Returns null | AlgorithmIdentifier

    \ No newline at end of file diff --git a/classes/ShaAlgorithm.html b/classes/ShaAlgorithm.html index 7cd54652..40233a46 100644 --- a/classes/ShaAlgorithm.html +++ b/classes/ShaAlgorithm.html @@ -1,11 +1,11 @@ ShaAlgorithm | @peculiar/x509

    Class ShaAlgorithm

    SHA algorithm provider

    -

    Implements

    Constructors

    Implements

    Constructors

    Methods

    • Converts WebCrypto algorithm to ASN.1 algorithm

      Parameters

      • alg: Algorithm

        WebCrypto algorithm

      Returns null | AlgorithmIdentifier

      ASN.1 algorithm or null

      -
    • Converts ASN.1 algorithm to WebCrypto algorithm

      Parameters

      • alg: AlgorithmIdentifier

        ASN.1 algorithm

      Returns null | Algorithm

      WebCrypto algorithm or null

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/classes/SubjectAlternativeNameExtension.html b/classes/SubjectAlternativeNameExtension.html index 4e9233e5..f2842598 100644 --- a/classes/SubjectAlternativeNameExtension.html +++ b/classes/SubjectAlternativeNameExtension.html @@ -1,5 +1,5 @@ SubjectAlternativeNameExtension | @peculiar/x509

    Class SubjectAlternativeNameExtension

    Represents the Subject Alternative Name certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Returns SubjectAlternativeNameExtension

  • Creates a new instance

    Parameters

    • Optional data: JsonGeneralNames

      JSON representation of SAN

    • Optional critical: boolean

      Indicates where extension is critical. Default is false

      -

    Returns SubjectAlternativeNameExtension

  • Properties

    critical: boolean

    Indicates where extension is critical

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Subject Alternative Name"

    Methods

    Returns SubjectAlternativeNameExtension

    Properties

    critical: boolean

    Indicates where extension is critical

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Subject Alternative Name"

    Methods

    • Occurs on instance initialization

      +

    Returns data is SubjectAlternativeNameExtension

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/SubjectKeyIdentifierExtension.html b/classes/SubjectKeyIdentifierExtension.html index 98812917..89c6563e 100644 --- a/classes/SubjectKeyIdentifierExtension.html +++ b/classes/SubjectKeyIdentifierExtension.html @@ -1,5 +1,5 @@ SubjectKeyIdentifierExtension | @peculiar/x509

    Class SubjectKeyIdentifierExtension

    Represents the Subject Key Identifier certificate extension

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    critical keyId rawData @@ -16,21 +16,21 @@ create

    Constructors

    Returns SubjectKeyIdentifierExtension

  • Creates a new instance

    Parameters

    • keyId: string

      Hexadecimal representation of key identifier

    • Optional critical: boolean

      Indicates where extension is critical. Default is false

      -

    Returns SubjectKeyIdentifierExtension

  • Properties

    critical: boolean

    Indicates where extension is critical

    -
    keyId: string

    Gets hexadecimal representation of key identifier

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    type: string

    Gets an extension identifier

    -
    value: ArrayBuffer

    Gets a DER encoded value of extension

    -
    NAME: string = "Subject Key Identifier"

    Methods

    Returns SubjectKeyIdentifierExtension

    Properties

    critical: boolean

    Indicates where extension is critical

    +
    keyId: string

    Gets hexadecimal representation of key identifier

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    type: string

    Gets an extension identifier

    +
    value: ArrayBuffer

    Gets a DER encoded value of extension

    +
    NAME: string = "Subject Key Identifier"

    Methods

    • Occurs on instance initialization

      +

    Returns data is SubjectKeyIdentifierExtension

    Returns void

    \ No newline at end of file +

    Returns Promise<SubjectKeyIdentifierExtension>

    \ No newline at end of file diff --git a/classes/TextConverter.html b/classes/TextConverter.html index 58a55f85..91748ea6 100644 --- a/classes/TextConverter.html +++ b/classes/TextConverter.html @@ -1,4 +1,4 @@ -TextConverter | @peculiar/x509

    Class TextConverterAbstract

    Constructors

    constructor +TextConverter | @peculiar/x509

    Class TextConverterAbstract

    Constructors

    Properties

    algorithmSerializer: AlgorithmSerializer = DefaultAlgorithmSerializer
    oidSerializer: typeof OidSerializer = OidSerializer

    Methods

    • Parameters

      • buffer: BufferSource
      • deep: number = 0

      Returns string[]

    \ No newline at end of file +

    Constructors

    Properties

    algorithmSerializer: AlgorithmSerializer = DefaultAlgorithmSerializer
    oidSerializer: typeof OidSerializer = OidSerializer

    Methods

    • Parameters

      • buffer: BufferSource
      • deep: number = 0

      Returns string[]

    \ No newline at end of file diff --git a/classes/TextObject.html b/classes/TextObject.html index afdcb0b0..9097ed55 100644 --- a/classes/TextObject.html +++ b/classes/TextObject.html @@ -1,6 +1,6 @@ -TextObject | @peculiar/x509

    Class TextObject

    Indexable

    [key: string | symbol]: TextObjectItemType

    Constructors

    constructor +TextObject | @peculiar/x509

    Class TextObject

    Indexable

    [key: string | symbol]: TextObjectItemType

    Constructors

    Properties

    Constructors

    Properties

    [NAME]: string
    [VALUE]: string
    NAME: typeof NAME = NAME
    VALUE: typeof VALUE = VALUE
    \ No newline at end of file +

    Constructors

    Properties

    [NAME]: string
    [VALUE]: string
    NAME: typeof NAME = NAME
    VALUE: typeof VALUE = VALUE
    \ No newline at end of file diff --git a/classes/X509Certificate.html b/classes/X509Certificate.html index d9233aca..6314e4c1 100644 --- a/classes/X509Certificate.html +++ b/classes/X509Certificate.html @@ -1,5 +1,5 @@ X509Certificate | @peculiar/x509

    Class X509Certificate

    Representation of X509 certificate

    -

    Hierarchy

    • PemData<Certificate>
      • X509Certificate

    Implements

    Constructors

    Hierarchy

    • PemData<Certificate>
      • X509Certificate

    Implements

    Constructors

    Properties

    Constructors

    Returns X509Certificate

  • Creates a new instance

    Parameters

    • raw: AsnEncodedType

      Encoded buffer (DER, PEM, HEX, Base64, Base64Url)

      -

    Returns X509Certificate

  • Properties

    extensions: Extension[]

    Gts a list of certificate extensions

    -
    issuer: string

    Gets a string issuer name

    -
    issuerName: Name

    Gets the issuer value from the certificate as an Name

    -
    notAfter: Date

    Gets a date after which certificate can't be used

    -
    notBefore: Date

    Gets a date before which certificate can't be used

    -
    privateKey?: CryptoKey

    Gets a private key of the certificate

    -
    publicKey: PublicKey

    Gets a public key of the certificate

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    serialNumber: string

    Gets a hexadecimal string of the serial number

    -
    signature: ArrayBuffer

    Gets a signature

    -
    signatureAlgorithm: HashedAlgorithm

    Gets a signature algorithm

    -
    subject: string

    Gets a string subject name

    -
    subjectName: Name

    Gets the subject value from the certificate as an Name

    -
    tag: string
    tbs: ArrayBuffer

    ToBeSigned block of certificate

    -
    NAME: string = "Certificate"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns X509Certificate

    Properties

    extensions: Extension[]

    Gts a list of certificate extensions

    +
    issuer: string

    Gets a string issuer name

    +
    issuerName: Name

    Gets the issuer value from the certificate as an Name

    +
    notAfter: Date

    Gets a date after which certificate can't be used

    +
    notBefore: Date

    Gets a date before which certificate can't be used

    +
    privateKey?: CryptoKey

    Gets a private key of the certificate

    +
    publicKey: PublicKey

    Gets a public key of the certificate

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    serialNumber: string

    Gets a hexadecimal string of the serial number

    +
    signature: ArrayBuffer

    Gets a signature

    +
    signatureAlgorithm: HashedAlgorithm

    Gets a signature algorithm

    +
    subject: string

    Gets a string subject name

    +
    subjectName: Name

    Gets the subject value from the certificate as an Name

    +
    tag: string
    tbs: ArrayBuffer

    ToBeSigned block of certificate

    +
    NAME: string = "Certificate"

    Methods

    • Returns an extension of specified type

      +

    Returns data is X509Certificate

    Returns T[]

  • Returns a list of extensions of specified type

    Type Parameters

    Parameters

    • type: (new (raw) => T)

      Extension type

      -
        • new (raw): T
        • Parameters

          • raw: BufferSource

          Returns T

    Returns T[]

  • Returns T[]

    Returns Promise<ArrayBuffer>

  • Returns a certificate thumbprint for specified mechanism

    Parameters

    • algorithm: AlgorithmIdentifier

      Hash algorithm

    • Optional crypto: Crypto

      Crypto provider. Default is from CryptoProvider

      -

    Returns Promise<ArrayBuffer>

  • Returns Promise<ArrayBuffer>

    Returns string

    Returns Promise<boolean>

    \ No newline at end of file +

    Returns ArrayBuffer

    \ No newline at end of file diff --git a/classes/X509CertificateGenerator.html b/classes/X509CertificateGenerator.html index 10470fac..8d506c52 100644 --- a/classes/X509CertificateGenerator.html +++ b/classes/X509CertificateGenerator.html @@ -1,11 +1,11 @@ X509CertificateGenerator | @peculiar/x509

    Class X509CertificateGenerator

    Generator of X509 certificates

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    • Creates a self-signed certificate

      +

    Returns Promise<X509Certificate>

    \ No newline at end of file +

    Returns Promise<X509Certificate>

    \ No newline at end of file diff --git a/classes/X509Certificates.html b/classes/X509Certificates.html index 3de62961..56a8ab33 100644 --- a/classes/X509Certificates.html +++ b/classes/X509Certificates.html @@ -1,5 +1,5 @@ X509Certificates | @peculiar/x509

    Class X509Certificates

    X509 Certificate collection

    -

    Hierarchy

    Implements

    Constructors

    Hierarchy

    Implements

    Constructors

    Properties

    [unscopables] length [species] @@ -44,13 +44,13 @@ isArray of

    Constructors

    Returns X509Certificates

  • Creates a new instance form X509 certificate

    Parameters

    Returns X509Certificates

  • Creates a new instance from a list of x509 certificates

    +
  • Returns X509Certificates

  • Creates a new instance from a list of x509 certificates

    Parameters

    Returns X509Certificates

  • Properties

    [unscopables]: {
        [unscopables]?: boolean;
        length?: boolean;
        [iterator]?: any;
        at?: any;
        concat?: any;
        copyWithin?: any;
        entries?: any;
        every?: any;
        fill?: any;
        filter?: any;
        find?: any;
        findIndex?: any;
        flat?: any;
        flatMap?: any;
        forEach?: any;
        includes?: any;
        indexOf?: any;
        join?: any;
        keys?: any;
        lastIndexOf?: any;
        map?: any;
        pop?: any;
        push?: any;
        reduce?: any;
        reduceRight?: any;
        reverse?: any;
        shift?: any;
        slice?: any;
        some?: any;
        sort?: any;
        splice?: any;
        toLocaleString?: any;
        toString?: any;
        unshift?: any;
        values?: any;
    }

    Is an object whose properties have the value 'true' +

    Returns X509Certificates

    Properties

    [unscopables]: {
        [unscopables]?: boolean;
        length?: boolean;
        [iterator]?: any;
        at?: any;
        concat?: any;
        copyWithin?: any;
        entries?: any;
        every?: any;
        fill?: any;
        filter?: any;
        find?: any;
        findIndex?: any;
        flat?: any;
        flatMap?: any;
        forEach?: any;
        includes?: any;
        indexOf?: any;
        join?: any;
        keys?: any;
        lastIndexOf?: any;
        map?: any;
        pop?: any;
        push?: any;
        reduce?: any;
        reduceRight?: any;
        reverse?: any;
        shift?: any;
        slice?: any;
        some?: any;
        sort?: any;
        splice?: any;
        toLocaleString?: any;
        toString?: any;
        unshift?: any;
        values?: any;
    }

    Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

    Type declaration

    • Optional Readonly [unscopables]?: boolean

      Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

      @@ -61,7 +61,7 @@ allowing for positive and negative integers. Negative integers count back from the last item in the array.

      Parameters

      • index: number

      Returns undefined | X509Certificate

    • Combines two or more arrays. This method returns a new array without modifying any existing arrays.

      Parameters

      • Rest ...items: ConcatArray<X509Certificate>[]

        Additional arrays and/or items to add to the end of the array.

      Returns X509Certificate[]

    • Combines two or more arrays. @@ -88,11 +88,11 @@

    • Optional thisArg: any

      An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

    Returns boolean

    • Returns encoded object in PEM format

      -

      Returns string

    • Returns encoded object in DER format

      +

      Returns string

    • Returns encoded object in DER format

      Parameters

      • format: "raw"

        der format

        -

      Returns ArrayBuffer

    • Returns encoded object in selected format

      +

    Returns ArrayBuffer

  • Returns encoded object in selected format

    Parameters

    • Optional format: AsnExportType

      hex, base64, base64url, pem. Default is pem

      -

    Returns string

    • Changes all array elements from start to end index to a static value and returns the modified array

      +

    Returns string

    • Changes all array elements from start to end index to a static value and returns the modified array

      Parameters

      • value: X509Certificate

        value to fill array section with

      • Optional start: number

        index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.

        @@ -132,7 +132,7 @@

        Parameters

        • callbackfn: ((value, index, array) => void)

          A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.

        • Optional thisArg: any

          An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

        Returns void

    • Import certificates from encoded PKCS7 data. Supported formats are HEX, DER, Base64, Base64Url, PEM

      -

      Parameters

      • data: AsnEncodedType

      Returns void

    • Determines whether an array includes a certain element, returning true or false as appropriate.

      +

      Parameters

      • data: AsnEncodedType

      Returns void

    • Determines whether an array includes a certain element, returning true or false as appropriate.

      Parameters

      • searchElement: X509Certificate

        The element to search for.

      • Optional fromIndex: number

        The position in this array at which to begin searching for searchElement.

      Returns boolean

    • Returns the index of the first occurrence of a value in an array, or -1 if it is not present.

      @@ -195,8 +195,8 @@
    • Rest ...items: X509Certificate[]

      Elements to insert into the array in place of the deleted elements.

    Returns X509Certificate[]

    An array containing the elements that were deleted.

    • Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.

      -

      Returns string

    • Inserts new elements at the start of an array, and returns the new length of the array.

      +

      Returns string

    • Inserts new elements at the start of an array, and returns the new length of the array.

      Parameters

      • Rest ...items: X509Certificate[]

        Elements to insert at the start of the array.

      Returns number

    • Returns an iterable of values in the array

      Returns IterableIterator<X509Certificate>

    Constructors

    Properties

    certificates: X509Certificate[] = []

    Methods

    \ No newline at end of file diff --git a/classes/X509Crl.html b/classes/X509Crl.html index ef9fc326..147b7dbf 100644 --- a/classes/X509Crl.html +++ b/classes/X509Crl.html @@ -1,5 +1,5 @@ X509Crl | @peculiar/x509

    Representation of X.509 Certificate Revocation List (CRL)

    -

    Hierarchy

    • PemData<CertificateList>
      • X509Crl

    Constructors

    Hierarchy

    • PemData<CertificateList>
      • X509Crl

    Constructors

    Properties

    Constructors

    • Creates a new instance from ASN.1 CertificateList object

      Parameters

      • asn: CertificateList

        ASN.1 CertificateList object

        -

      Returns X509Crl

    • Creates a new instance

      +

    Returns X509Crl

  • Creates a new instance

    Parameters

    • raw: AsnEncodedType

      Encoded buffer (DER, PEM, HEX, Base64, Base64Url)

      -

    Returns X509Crl

  • Properties

    certListSignatureAlgorithm: AlgorithmIdentifier

    Signature algorithm field in the sequence CertificateList

    -
    entries: readonly X509CrlEntry[]

    Gets a crlEntries from the CRL

    -
    extensions: Extension[]

    Gts a list of crl extensions

    -
    issuer: string

    Gets a string issuer name

    -
    issuerName: Name

    Gets the issuer value from the crl as an Name

    -
    nextUpdate?: Date

    Gets a nextUpdate date from the CRL

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    signature: ArrayBuffer

    Gets a signature

    -
    signatureAlgorithm: HashedAlgorithm

    Gets a signature algorithm

    -
    tag: string
    tbs: ArrayBuffer

    ToBeSigned block of crl

    -
    tbsCertListSignatureAlgorithm: AlgorithmIdentifier

    Signature field in the sequence tbsCertList

    -
    thisUpdate: Date

    Gets a thisUpdate date from the CRL

    -
    version?: Version

    Gets a version

    -
    NAME: string = "ASN"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      +

    Returns X509Crl

    Properties

    certListSignatureAlgorithm: AlgorithmIdentifier

    Signature algorithm field in the sequence CertificateList

    +
    entries: readonly X509CrlEntry[]

    Gets a crlEntries from the CRL

    +
    extensions: Extension[]

    Gts a list of crl extensions

    +
    issuer: string

    Gets a string issuer name

    +
    issuerName: Name

    Gets the issuer value from the crl as an Name

    +
    nextUpdate?: Date

    Gets a nextUpdate date from the CRL

    +
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    signature: ArrayBuffer

    Gets a signature

    +
    signatureAlgorithm: HashedAlgorithm

    Gets a signature algorithm

    +
    tag: string
    tbs: ArrayBuffer

    ToBeSigned block of crl

    +
    tbsCertListSignatureAlgorithm: AlgorithmIdentifier

    Signature field in the sequence tbsCertList

    +
    thisUpdate: Date

    Gets a thisUpdate date from the CRL

    +
    version?: Version

    Gets a version

    +
    NAME: string = "ASN"

    Methods

    • Returns true if ASN.1 data is equal to another ASN.1 data, otherwise false

      Parameters

      • data: any

        Any data

        -

      Returns data is X509Crl

    • Gets the CRL entry, with the given X509Certificate or certificate serialNumber.

      +

    Returns data is X509Crl

    Returns null | X509CrlEntry

    Returns T[]

  • Returns a list of extensions of specified type

    Type Parameters

    Parameters

    • type: (new (raw) => T)

      Extension type

      -
        • new (raw): T
        • Parameters

          • raw: BufferSource

          Returns T

    Returns T[]

  • Returns T[]

    Returns Promise<ArrayBuffer>

  • Returns a certificate thumbprint for specified mechanism

    Parameters

    • algorithm: AlgorithmIdentifier

      Hash algorithm

    • Optional crypto: Crypto

      Crypto provider. Default is from CryptoProvider

      -

    Returns Promise<ArrayBuffer>

  • Returns Promise<ArrayBuffer>

    Returns string

    Returns Promise<boolean>

    \ No newline at end of file +

    Returns ArrayBuffer

    \ No newline at end of file diff --git a/classes/X509CrlEntry.html b/classes/X509CrlEntry.html index 653b6737..0c0d927b 100644 --- a/classes/X509CrlEntry.html +++ b/classes/X509CrlEntry.html @@ -1,5 +1,5 @@ X509CrlEntry | @peculiar/x509

    Class X509CrlEntry

    Representation of X509CrlEntry

    -

    Hierarchy (view full)

    • AsnData<RevokedCertificate>
      • X509CrlEntry

    Constructors

    Hierarchy (view full)

    • AsnData<RevokedCertificate>
      • X509CrlEntry

    Constructors

    Properties

    Constructors

    Returns X509CrlEntry

  • Creates a new instance

    Parameters

    • serialNumber: string

      Serial number of certificate

    • revocationDate: Date

      Revocation date

    • extensions: Extension[]

      List of crl extensions

      -

    Returns X509CrlEntry

  • Properties

    extensions: Extension[]

    Gets crl entry extensions

    -
    invalidity?: Date

    Gets the invalidity Date +

    Returns X509CrlEntry

    Properties

    extensions: Extension[]

    Gets crl entry extensions

    +
    invalidity?: Date

    Gets the invalidity Date The invalidity date is a non-critical CRL entry extension that provides the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid.

    -
    rawData: ArrayBuffer

    Gets a DER encoded buffer

    -
    reason?: X509CrlReason

    Gets the reason code

    -
    revocationDate: Date

    Gets the revocation date

    -
    serialNumber: string

    Gets a hexadecimal string of the serial number, the userCertificate

    -
    NAME: string = "ASN"

    Methods

    rawData: ArrayBuffer

    Gets a DER encoded buffer

    +
    reason?: X509CrlReason

    Gets the reason code

    +
    revocationDate: Date

    Gets the revocation date

    +
    serialNumber: string

    Gets a hexadecimal string of the serial number, the userCertificate

    +
    NAME: string = "ASN"

    Methods

    • Occurs on instance initialization

      +

    Returns data is X509CrlEntry

    \ No newline at end of file +

    Returns void

    \ No newline at end of file diff --git a/classes/X509CrlGenerator.html b/classes/X509CrlGenerator.html index 303b8197..60cf26e8 100644 --- a/classes/X509CrlGenerator.html +++ b/classes/X509CrlGenerator.html @@ -1,7 +1,7 @@ X509CrlGenerator | @peculiar/x509

    Class X509CrlGenerator

    Generator of X509 crl

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    \ No newline at end of file +

    Returns Promise<X509Crl>

    \ No newline at end of file diff --git a/enums/ExtendedKeyUsage.html b/enums/ExtendedKeyUsage.html index 0eab3295..aa84de68 100644 --- a/enums/ExtendedKeyUsage.html +++ b/enums/ExtendedKeyUsage.html @@ -1,7 +1,7 @@ -ExtendedKeyUsage | @peculiar/x509

    Enumeration ExtendedKeyUsage

    Enumeration Members

    clientAuth +ExtendedKeyUsage | @peculiar/x509

    Enumeration ExtendedKeyUsage

    Enumeration Members

    clientAuth: "1.3.6.1.5.5.7.3.2"
    codeSigning: "1.3.6.1.5.5.7.3.3"
    emailProtection: "1.3.6.1.5.5.7.3.4"
    ocspSigning: "1.3.6.1.5.5.7.3.9"
    serverAuth: "1.3.6.1.5.5.7.3.1"
    timeStamping: "1.3.6.1.5.5.7.3.8"
    \ No newline at end of file +

    Enumeration Members

    clientAuth: "1.3.6.1.5.5.7.3.2"
    codeSigning: "1.3.6.1.5.5.7.3.3"
    emailProtection: "1.3.6.1.5.5.7.3.4"
    ocspSigning: "1.3.6.1.5.5.7.3.9"
    serverAuth: "1.3.6.1.5.5.7.3.1"
    timeStamping: "1.3.6.1.5.5.7.3.8"
    \ No newline at end of file diff --git a/enums/KeyUsageFlags.html b/enums/KeyUsageFlags.html index 37b3562a..729821b3 100644 --- a/enums/KeyUsageFlags.html +++ b/enums/KeyUsageFlags.html @@ -1,5 +1,5 @@ KeyUsageFlags | @peculiar/x509

    Enumeration KeyUsageFlags

    X509 key usages flags

    -

    Enumeration Members

    Enumeration Members

    cRLSign: 64
    dataEncipherment: 8
    decipherOnly: 256
    digitalSignature: 1
    encipherOnly: 128
    keyAgreement: 16
    keyCertSign: 32
    keyEncipherment: 4
    nonRepudiation: 2
    \ No newline at end of file +

    Enumeration Members

    cRLSign: 64
    dataEncipherment: 8
    decipherOnly: 256
    digitalSignature: 1
    encipherOnly: 128
    keyAgreement: 16
    keyCertSign: 32
    keyEncipherment: 4
    nonRepudiation: 2
    \ No newline at end of file diff --git a/enums/X509CrlReason.html b/enums/X509CrlReason.html index 8981e0f4..b5abe901 100644 --- a/enums/X509CrlReason.html +++ b/enums/X509CrlReason.html @@ -1,7 +1,7 @@ X509CrlReason | @peculiar/x509

    Enumeration X509CrlReason

    Reason Code The reasonCode is a non-critical CRL entry extension that identifies the reason for the certificate revocation.

    -

    Enumeration Members

    Enumeration Members

    aACompromise: 10
    affiliationChanged: 3
    cACompromise: 2
    certificateHold: 6
    cessationOfOperation: 5
    keyCompromise: 1
    privilegeWithdrawn: 9
    removeFromCRL: 8
    superseded: 4
    unspecified: 0
    \ No newline at end of file +

    Enumeration Members

    aACompromise: 10
    affiliationChanged: 3
    cACompromise: 2
    certificateHold: 6
    cessationOfOperation: 5
    keyCompromise: 1
    privilegeWithdrawn: 9
    removeFromCRL: 8
    superseded: 4
    unspecified: 0
    \ No newline at end of file diff --git a/interfaces/AlgorithmSerializer.html b/interfaces/AlgorithmSerializer.html index 979f311b..62e4d8f6 100644 --- a/interfaces/AlgorithmSerializer.html +++ b/interfaces/AlgorithmSerializer.html @@ -1,2 +1,2 @@ -AlgorithmSerializer | @peculiar/x509

    Interface AlgorithmSerializer

    interface AlgorithmSerializer {
        toTextObject(alg): TextObject;
    }

    Methods

    Methods

    \ No newline at end of file +AlgorithmSerializer | @peculiar/x509

    Interface AlgorithmSerializer

    interface AlgorithmSerializer {
        toTextObject(alg): TextObject;
    }

    Methods

    Methods

    \ No newline at end of file diff --git a/interfaces/AuthorityInfoAccessParams.html b/interfaces/AuthorityInfoAccessParams.html index 7947d882..bbbeee54 100644 --- a/interfaces/AuthorityInfoAccessParams.html +++ b/interfaces/AuthorityInfoAccessParams.html @@ -1,5 +1,5 @@ -AuthorityInfoAccessParams | @peculiar/x509

    Interface AuthorityInfoAccessParams

    interface AuthorityInfoAccessParams {
        caIssuers?: AccessItemTypes;
        caRepository?: AccessItemTypes;
        ocsp?: AccessItemTypes;
        timeStamping?: AccessItemTypes;
    }

    Properties

    caIssuers? +AuthorityInfoAccessParams | @peculiar/x509

    Interface AuthorityInfoAccessParams

    interface AuthorityInfoAccessParams {
        caIssuers?: AccessItemTypes;
        caRepository?: AccessItemTypes;
        ocsp?: AccessItemTypes;
        timeStamping?: AccessItemTypes;
    }

    Properties

    caIssuers?: AccessItemTypes
    caRepository?: AccessItemTypes
    timeStamping?: AccessItemTypes
    \ No newline at end of file +

    Properties

    caIssuers?: AccessItemTypes
    caRepository?: AccessItemTypes
    timeStamping?: AccessItemTypes
    \ No newline at end of file diff --git a/interfaces/CertificateIdentifier.html b/interfaces/CertificateIdentifier.html index 9a55064f..9e3f1fcf 100644 --- a/interfaces/CertificateIdentifier.html +++ b/interfaces/CertificateIdentifier.html @@ -1,5 +1,5 @@ -CertificateIdentifier | @peculiar/x509

    Interface CertificateIdentifier

    interface CertificateIdentifier {
        name: GeneralNames | GeneralNames | GeneralName[];
        serialNumber: string;
    }

    Properties

    name +CertificateIdentifier | @peculiar/x509

    Interface CertificateIdentifier

    interface CertificateIdentifier {
        name: GeneralNames | GeneralNames | GeneralName[];
        serialNumber: string;
    }

    Properties

    Properties

    name: GeneralNames | GeneralNames | GeneralName[]

    Name

    -
    serialNumber: string

    Hexadecimal string

    -
    \ No newline at end of file +
    serialNumber: string

    Hexadecimal string

    +
    \ No newline at end of file diff --git a/interfaces/HashedAlgorithm.html b/interfaces/HashedAlgorithm.html index 55aadc24..4276b16e 100644 --- a/interfaces/HashedAlgorithm.html +++ b/interfaces/HashedAlgorithm.html @@ -1,3 +1,3 @@ -HashedAlgorithm | @peculiar/x509

    Interface HashedAlgorithm

    interface HashedAlgorithm {
        hash: Algorithm;
        name: string;
    }

    Hierarchy

    • Algorithm
      • HashedAlgorithm

    Properties

    hash +HashedAlgorithm | @peculiar/x509

    Interface HashedAlgorithm

    interface HashedAlgorithm {
        hash: Algorithm;
        name: string;
    }

    Hierarchy

    • Algorithm
      • HashedAlgorithm

    Properties

    Properties

    hash: Algorithm
    name: string
    \ No newline at end of file +

    Properties

    hash: Algorithm
    name: string
    \ No newline at end of file diff --git a/interfaces/IAlgorithm.html b/interfaces/IAlgorithm.html index ba7ef388..f6d68215 100644 --- a/interfaces/IAlgorithm.html +++ b/interfaces/IAlgorithm.html @@ -1,9 +1,9 @@ -IAlgorithm | @peculiar/x509

    Interface IAlgorithm

    interface IAlgorithm {
        toAsnAlgorithm(alg): null | AlgorithmIdentifier;
        toWebAlgorithm(alg): null | Algorithm;
    }

    Implemented by

    Methods

    toAsnAlgorithm +IAlgorithm | @peculiar/x509

    Interface IAlgorithm

    interface IAlgorithm {
        toAsnAlgorithm(alg): null | AlgorithmIdentifier;
        toWebAlgorithm(alg): null | Algorithm;
    }

    Implemented by

    Methods

    • Converts WebCrypto algorithm to ASN.1 algorithm

      Parameters

      • alg: Algorithm

        WebCrypto algorithm

      Returns null | AlgorithmIdentifier

      ASN.1 algorithm or null

      -
    • Converts ASN.1 algorithm to WebCrypto algorithm

      +
    • Converts ASN.1 algorithm to WebCrypto algorithm

      Parameters

      • alg: AlgorithmIdentifier

        ASN.1 algorithm

      Returns null | Algorithm

      WebCrypto algorithm or null

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/interfaces/IAsnSignatureFormatter.html b/interfaces/IAsnSignatureFormatter.html index 980c85dc..7c493ae4 100644 --- a/interfaces/IAsnSignatureFormatter.html +++ b/interfaces/IAsnSignatureFormatter.html @@ -2,10 +2,10 @@

    To register it's implementation in global use tsyringe container

    Example

    import { container } from "tsyringe";

    container.registerSingleton(diAsnSignatureFormatter, AsnDefaultSignatureFormatter);
    -
    interface IAsnSignatureFormatter {
        toAsnSignature(algorithm, signature): null | ArrayBuffer;
        toWebSignature(algorithm, signature): null | ArrayBuffer;
    }

    Implemented by

    Methods

    interface IAsnSignatureFormatter {
        toAsnSignature(algorithm, signature): null | ArrayBuffer;
        toWebSignature(algorithm, signature): null | ArrayBuffer;
    }

    Implemented by

    Methods

    • Converts ASN.1 signature to WebCrypto format

      Parameters

      • algorithm: Algorithm

        Key and signing algorithm

      • signature: BufferSource

        ASN.1 signature value in DER format

        -

      Returns null | ArrayBuffer

    • Converts WebCrypto signature to ASN.1 DER encoded signature value

      -

      Parameters

      • algorithm: Algorithm
      • signature: BufferSource

      Returns null | ArrayBuffer

    \ No newline at end of file +

    Returns null | ArrayBuffer

    • Converts WebCrypto signature to ASN.1 DER encoded signature value

      +

      Parameters

      • algorithm: Algorithm
      • signature: BufferSource

      Returns null | ArrayBuffer

    \ No newline at end of file diff --git a/interfaces/IPublicKeyContainer.html b/interfaces/IPublicKeyContainer.html index bc966fad..25633897 100644 --- a/interfaces/IPublicKeyContainer.html +++ b/interfaces/IPublicKeyContainer.html @@ -1,2 +1,2 @@ -IPublicKeyContainer | @peculiar/x509

    Interface IPublicKeyContainer

    interface IPublicKeyContainer {
        publicKey: PublicKey;
    }

    Implemented by

    Properties

    Properties

    publicKey: PublicKey
    \ No newline at end of file +IPublicKeyContainer | @peculiar/x509

    Interface IPublicKeyContainer

    interface IPublicKeyContainer {
        publicKey: PublicKey;
    }

    Implemented by

    Properties

    Properties

    publicKey: PublicKey
    \ No newline at end of file diff --git a/interfaces/IdOrName.html b/interfaces/IdOrName.html index 81d5c0b8..746a72aa 100644 --- a/interfaces/IdOrName.html +++ b/interfaces/IdOrName.html @@ -1 +1 @@ -IdOrName | @peculiar/x509

    Interface IdOrName

    interface IdOrName {
        [idOrName: string]: string;
    }

    Indexable

    [idOrName: string]: string
    \ No newline at end of file +IdOrName | @peculiar/x509

    Interface IdOrName

    interface IdOrName {
        [idOrName: string]: string;
    }

    Indexable

    [idOrName: string]: string
    \ No newline at end of file diff --git a/interfaces/JsonAttributeAndObjectValue.html b/interfaces/JsonAttributeAndObjectValue.html index 4be4498d..66fd5ad3 100644 --- a/interfaces/JsonAttributeAndObjectValue.html +++ b/interfaces/JsonAttributeAndObjectValue.html @@ -1 +1 @@ -JsonAttributeAndObjectValue | @peculiar/x509

    Interface JsonAttributeAndObjectValue

    interface JsonAttributeAndObjectValue {
        [type: string]: JsonAttributeObject[];
    }

    Indexable

    [type: string]: JsonAttributeObject[]
    \ No newline at end of file +JsonAttributeAndObjectValue | @peculiar/x509

    Interface JsonAttributeAndObjectValue

    interface JsonAttributeAndObjectValue {
        [type: string]: JsonAttributeObject[];
    }

    Indexable

    [type: string]: JsonAttributeObject[]
    \ No newline at end of file diff --git a/interfaces/JsonAttributeAndStringValue.html b/interfaces/JsonAttributeAndStringValue.html index d6eff67a..7aead98f 100644 --- a/interfaces/JsonAttributeAndStringValue.html +++ b/interfaces/JsonAttributeAndStringValue.html @@ -1,2 +1,2 @@ JsonAttributeAndStringValue | @peculiar/x509

    Interface JsonAttributeAndStringValue

    JSON representation of Attribute and Value

    -
    interface JsonAttributeAndStringValue {
        [type: string]: string[];
    }

    Indexable

    [type: string]: string[]
    \ No newline at end of file +
    interface JsonAttributeAndStringValue {
        [type: string]: string[];
    }

    Indexable

    [type: string]: string[]
    \ No newline at end of file diff --git a/interfaces/JsonAttributeObject.html b/interfaces/JsonAttributeObject.html index bfdc8310..da6f1772 100644 --- a/interfaces/JsonAttributeObject.html +++ b/interfaces/JsonAttributeObject.html @@ -1,6 +1,6 @@ -JsonAttributeObject | @peculiar/x509

    Interface JsonAttributeObject

    interface JsonAttributeObject {
        bmpString?: string;
        ia5String?: string;
        printableString?: string;
        universalString?: string;
        utf8String?: string;
    }

    Properties

    bmpString? +JsonAttributeObject | @peculiar/x509

    Interface JsonAttributeObject

    interface JsonAttributeObject {
        bmpString?: string;
        ia5String?: string;
        printableString?: string;
        universalString?: string;
        utf8String?: string;
    }

    Properties

    bmpString?: string
    ia5String?: string
    printableString?: string
    universalString?: string
    utf8String?: string
    \ No newline at end of file +

    Properties

    bmpString?: string
    ia5String?: string
    printableString?: string
    universalString?: string
    utf8String?: string
    \ No newline at end of file diff --git a/interfaces/JsonGeneralName.html b/interfaces/JsonGeneralName.html index 91379584..0f27c449 100644 --- a/interfaces/JsonGeneralName.html +++ b/interfaces/JsonGeneralName.html @@ -1,3 +1,3 @@ -JsonGeneralName | @peculiar/x509

    Interface JsonGeneralName

    interface JsonGeneralName {
        type: GeneralNameType;
        value: string;
    }

    Properties

    type +JsonGeneralName | @peculiar/x509

    Interface JsonGeneralName

    interface JsonGeneralName {
        type: GeneralNameType;
        value: string;
    }

    Properties

    Properties

    value: string
    \ No newline at end of file +

    Properties

    value: string
    \ No newline at end of file diff --git a/interfaces/PemHeader.html b/interfaces/PemHeader.html index fdcdfb62..92153946 100644 --- a/interfaces/PemHeader.html +++ b/interfaces/PemHeader.html @@ -1,3 +1,3 @@ -PemHeader | @peculiar/x509

    Interface PemHeader

    interface PemHeader {
        key: string;
        value: string;
    }

    Properties

    key +PemHeader | @peculiar/x509

    Interface PemHeader

    interface PemHeader {
        key: string;
        value: string;
    }

    Properties

    Properties

    key: string
    value: string
    \ No newline at end of file +

    Properties

    key: string
    value: string
    \ No newline at end of file diff --git a/interfaces/PemStruct.html b/interfaces/PemStruct.html index 49b376b4..37cb5cfd 100644 --- a/interfaces/PemStruct.html +++ b/interfaces/PemStruct.html @@ -1,8 +1,8 @@ PemStruct | @peculiar/x509

    Interface PemStruct

    Represents PEM structure

    -
    interface PemStruct {
        headers: PemHeader[];
        rawData: ArrayBuffer;
        type: string;
    }

    Properties

    interface PemStruct {
        headers: PemHeader[];
        rawData: ArrayBuffer;
        type: string;
    }

    Properties

    Properties

    headers: PemHeader[]

    Headers

    -
    rawData: ArrayBuffer

    Decoded message data

    -
    type: string

    Type

    -
    \ No newline at end of file +
    rawData: ArrayBuffer

    Decoded message data

    +
    type: string

    Type

    +
    \ No newline at end of file diff --git a/interfaces/Pkcs10CertificateRequestCreateParams.html b/interfaces/Pkcs10CertificateRequestCreateParams.html index 6ec541c6..082bb548 100644 --- a/interfaces/Pkcs10CertificateRequestCreateParams.html +++ b/interfaces/Pkcs10CertificateRequestCreateParams.html @@ -1,12 +1,12 @@ Pkcs10CertificateRequestCreateParams | @peculiar/x509

    Interface Pkcs10CertificateRequestCreateParams

    Pkcs10CertificateRequest create parameters

    -
    interface Pkcs10CertificateRequestCreateParams {
        attributes?: Attribute[];
        extensions?: Extension[];
        keys: CryptoKeyPair;
        name?: Pkcs10CertificateRequestCreateParamsName;
        signingAlgorithm: Algorithm | EcdsaParams;
    }

    Properties

    interface Pkcs10CertificateRequestCreateParams {
        attributes?: Attribute[];
        extensions?: Extension[];
        keys: CryptoKeyPair;
        name?: Pkcs10CertificateRequestCreateParamsName;
        signingAlgorithm: Algorithm | EcdsaParams;
    }

    Properties

    attributes?: Attribute[]

    Attributes

    -
    extensions?: Extension[]

    Extensions

    -
    keys: CryptoKeyPair

    Crypto key pair

    -

    Subject name

    -
    signingAlgorithm: Algorithm | EcdsaParams

    Signing algorithm

    -
    \ No newline at end of file +
    extensions?: Extension[]

    Extensions

    +
    keys: CryptoKeyPair

    Crypto key pair

    +

    Subject name

    +
    signingAlgorithm: Algorithm | EcdsaParams

    Signing algorithm

    +
    \ No newline at end of file diff --git a/interfaces/TextObjectConvertible.html b/interfaces/TextObjectConvertible.html index 9d393f2b..5a56efed 100644 --- a/interfaces/TextObjectConvertible.html +++ b/interfaces/TextObjectConvertible.html @@ -1,3 +1,3 @@ -TextObjectConvertible | @peculiar/x509

    Interface TextObjectConvertible

    interface TextObjectConvertible {
        toTextObject(): TextObject;
    }

    Implemented by

    Methods

    toTextObject +TextObjectConvertible | @peculiar/x509

    Interface TextObjectConvertible

    interface TextObjectConvertible {
        toTextObject(): TextObject;
    }

    Implemented by

    Methods

    Methods

    \ No newline at end of file +

    Returns TextObject

    \ No newline at end of file diff --git a/interfaces/UnknownAlgorithm.html b/interfaces/UnknownAlgorithm.html index 4bb1a1c0..6e80d123 100644 --- a/interfaces/UnknownAlgorithm.html +++ b/interfaces/UnknownAlgorithm.html @@ -1,3 +1,3 @@ -UnknownAlgorithm | @peculiar/x509

    Interface UnknownAlgorithm

    interface UnknownAlgorithm {
        name: string;
        parameters?: null | ArrayBuffer;
    }

    Hierarchy

    • Algorithm
      • UnknownAlgorithm

    Properties

    name +UnknownAlgorithm | @peculiar/x509

    Interface UnknownAlgorithm

    interface UnknownAlgorithm {
        name: string;
        parameters?: null | ArrayBuffer;
    }

    Hierarchy

    • Algorithm
      • UnknownAlgorithm

    Properties

    Properties

    name: string
    parameters?: null | ArrayBuffer
    \ No newline at end of file +

    Properties

    name: string
    parameters?: null | ArrayBuffer
    \ No newline at end of file diff --git a/interfaces/X509CertificateCreateCommonParams.html b/interfaces/X509CertificateCreateCommonParams.html index af8d337f..05153348 100644 --- a/interfaces/X509CertificateCreateCommonParams.html +++ b/interfaces/X509CertificateCreateCommonParams.html @@ -1,5 +1,5 @@ X509CertificateCreateCommonParams | @peculiar/x509

    Interface X509CertificateCreateCommonParams

    Common parameters for X509 Certificate generation

    -
    interface X509CertificateCreateCommonParams {
        extensions?: Extension[];
        issuer?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
        subject?: X509CertificateCreateParamsName;
    }

    Hierarchy (view full)

    Properties

    interface X509CertificateCreateCommonParams {
        extensions?: Extension[];
        issuer?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
        subject?: X509CertificateCreateParamsName;
    }

    Hierarchy (view full)

    Properties

    extensions?: Extension[]

    List of extensions

    -
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    -
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    -
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    -
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    -
    \ No newline at end of file +
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    +
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    +
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    +
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    +
    \ No newline at end of file diff --git a/interfaces/X509CertificateCreateParamsBase.html b/interfaces/X509CertificateCreateParamsBase.html index 75a450be..e0d3d322 100644 --- a/interfaces/X509CertificateCreateParamsBase.html +++ b/interfaces/X509CertificateCreateParamsBase.html @@ -1,12 +1,12 @@ X509CertificateCreateParamsBase | @peculiar/x509

    Interface X509CertificateCreateParamsBase

    Base arguments for certificate creation

    -
    interface X509CertificateCreateParamsBase {
        extensions?: Extension[];
        notAfter?: Date;
        notBefore?: Date;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
    }

    Hierarchy (view full)

    Properties

    interface X509CertificateCreateParamsBase {
        extensions?: Extension[];
        notAfter?: Date;
        notBefore?: Date;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
    }

    Hierarchy (view full)

    Properties

    extensions?: Extension[]

    List of extensions

    -
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    -
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    -
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    -
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    -
    \ No newline at end of file +
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    +
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    +
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    +
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    +
    \ No newline at end of file diff --git a/interfaces/X509CertificateCreateSelfSignedParams.html b/interfaces/X509CertificateCreateSelfSignedParams.html index 9cf85c41..e3ba02cc 100644 --- a/interfaces/X509CertificateCreateSelfSignedParams.html +++ b/interfaces/X509CertificateCreateSelfSignedParams.html @@ -1,5 +1,5 @@ X509CertificateCreateSelfSignedParams | @peculiar/x509

    Interface X509CertificateCreateSelfSignedParams

    Parameters for self-signed X509 Certificate generation

    -
    interface X509CertificateCreateSelfSignedParams {
        extensions?: Extension[];
        keys: CryptoKeyPair;
        name?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
    }

    Hierarchy (view full)

    Properties

    interface X509CertificateCreateSelfSignedParams {
        extensions?: Extension[];
        keys: CryptoKeyPair;
        name?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
    }

    Hierarchy (view full)

    Properties

    extensions?: Extension[]

    List of extensions

    -
    keys: CryptoKeyPair
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    -
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    -
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    -
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    -
    \ No newline at end of file +
    keys: CryptoKeyPair
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    +
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    +
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    +
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    +
    \ No newline at end of file diff --git a/interfaces/X509CertificateCreateWithKeyParams.html b/interfaces/X509CertificateCreateWithKeyParams.html index 88ff8f37..2928994b 100644 --- a/interfaces/X509CertificateCreateWithKeyParams.html +++ b/interfaces/X509CertificateCreateWithKeyParams.html @@ -1,5 +1,5 @@ X509CertificateCreateWithKeyParams | @peculiar/x509

    Interface X509CertificateCreateWithKeyParams

    Parameters for X509 Certificate generation with private key

    -
    interface X509CertificateCreateWithKeyParams {
        extensions?: Extension[];
        issuer?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        publicKey: PublicKeyType;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
        signingKey: CryptoKey;
        subject?: X509CertificateCreateParamsName;
    }

    Hierarchy (view full)

    Properties

    interface X509CertificateCreateWithKeyParams {
        extensions?: Extension[];
        issuer?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        publicKey: PublicKeyType;
        serialNumber?: string;
        signingAlgorithm?: Algorithm | EcdsaParams;
        signingKey: CryptoKey;
        subject?: X509CertificateCreateParamsName;
    }

    Hierarchy (view full)

    Properties

    extensions?: Extension[]

    List of extensions

    -
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    -
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    -
    publicKey: PublicKeyType
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    -
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    -
    signingKey: CryptoKey
    \ No newline at end of file +
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    +
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    +
    publicKey: PublicKeyType
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    +
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    +
    signingKey: CryptoKey
    \ No newline at end of file diff --git a/interfaces/X509CertificateCreateWithSignatureParams.html b/interfaces/X509CertificateCreateWithSignatureParams.html index b0860819..3baacfcb 100644 --- a/interfaces/X509CertificateCreateWithSignatureParams.html +++ b/interfaces/X509CertificateCreateWithSignatureParams.html @@ -1,5 +1,5 @@ X509CertificateCreateWithSignatureParams | @peculiar/x509

    Interface X509CertificateCreateWithSignatureParams

    Parameters for X509 Certificate generation with existing signature value

    -
    interface X509CertificateCreateWithSignatureParams {
        extensions?: Extension[];
        issuer?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        publicKey: PublicKeyType;
        serialNumber?: string;
        signature: BufferSource;
        signingAlgorithm?: Algorithm | EcdsaParams;
        subject?: X509CertificateCreateParamsName;
    }

    Hierarchy (view full)

    Properties

    interface X509CertificateCreateWithSignatureParams {
        extensions?: Extension[];
        issuer?: X509CertificateCreateParamsName;
        notAfter?: Date;
        notBefore?: Date;
        publicKey: PublicKeyType;
        serialNumber?: string;
        signature: BufferSource;
        signingAlgorithm?: Algorithm | EcdsaParams;
        subject?: X509CertificateCreateParamsName;
    }

    Hierarchy (view full)

    Properties

    extensions?: Extension[]

    List of extensions

    -
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    -
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    -
    publicKey: PublicKeyType

    Manual signing requires CryptoKey that includes signature algorithm

    -
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    -
    signature: BufferSource

    Signature for manually initialized certificates

    -
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    -
    \ No newline at end of file +
    notAfter?: Date

    Date after which certificate can't be used. Default is 1 year from now

    +
    notBefore?: Date

    Date before which certificate can't be used. Default is current date

    +
    publicKey: PublicKeyType

    Manual signing requires CryptoKey that includes signature algorithm

    +
    serialNumber?: string

    Hexadecimal serial number. If not specified, random value will be generated

    +
    signature: BufferSource

    Signature for manually initialized certificates

    +
    signingAlgorithm?: Algorithm | EcdsaParams

    Signing algorithm. Default is SHA-256 with key algorithm

    +
    \ No newline at end of file diff --git a/interfaces/X509CertificateVerifyParams.html b/interfaces/X509CertificateVerifyParams.html index b7d0ef9f..f4f619f5 100644 --- a/interfaces/X509CertificateVerifyParams.html +++ b/interfaces/X509CertificateVerifyParams.html @@ -1,5 +1,5 @@ X509CertificateVerifyParams | @peculiar/x509

    Interface X509CertificateVerifyParams

    Verification params of X509 certificate

    -
    interface X509CertificateVerifyParams {
        date?: Date;
        publicKey?: PublicKeyType;
        signatureOnly?: boolean;
    }

    Properties

    interface X509CertificateVerifyParams {
        date?: Date;
        publicKey?: PublicKeyType;
        signatureOnly?: boolean;
    }

    Properties

    date?: Date
    publicKey?: PublicKeyType
    signatureOnly?: boolean
    \ No newline at end of file +

    Properties

    date?: Date
    publicKey?: PublicKeyType
    signatureOnly?: boolean
    \ No newline at end of file diff --git a/interfaces/X509ChainBuilderParams.html b/interfaces/X509ChainBuilderParams.html index 9768da57..b8315ddf 100644 --- a/interfaces/X509ChainBuilderParams.html +++ b/interfaces/X509ChainBuilderParams.html @@ -1,2 +1,2 @@ -X509ChainBuilderParams | @peculiar/x509

    Interface X509ChainBuilderParams

    interface X509ChainBuilderParams {
        certificates?: X509Certificate[];
    }

    Properties

    Properties

    certificates?: X509Certificate[]
    \ No newline at end of file +X509ChainBuilderParams | @peculiar/x509

    Interface X509ChainBuilderParams

    interface X509ChainBuilderParams {
        certificates?: X509Certificate[];
    }

    Properties

    Properties

    certificates?: X509Certificate[]
    \ No newline at end of file diff --git a/interfaces/X509CrlCreateParams.html b/interfaces/X509CrlCreateParams.html index 7bf44a05..162e5ce7 100644 --- a/interfaces/X509CrlCreateParams.html +++ b/interfaces/X509CrlCreateParams.html @@ -1,10 +1,10 @@ X509CrlCreateParams | @peculiar/x509

    Interface X509CrlCreateParams

    Parameters for X509 CRL generation

    -
    interface X509CrlCreateParams {
        entries?: X509CrlEntryParams[];
        extensions?: Extension[];
        issuer: X509CertificateCreateParamsName;
        nextUpdate?: Date;
        signingAlgorithm: Algorithm | EcdsaParams;
        signingKey: CryptoKey;
        thisUpdate?: Date;
    }

    Hierarchy (view full)

    Properties

    interface X509CrlCreateParams {
        entries?: X509CrlEntryParams[];
        extensions?: Extension[];
        issuer: X509CertificateCreateParamsName;
        nextUpdate?: Date;
        signingAlgorithm: Algorithm | EcdsaParams;
        signingKey: CryptoKey;
        thisUpdate?: Date;
    }

    Hierarchy (view full)

    Properties

    entries?: X509CrlEntryParams[]
    extensions?: Extension[]
    nextUpdate?: Date
    signingAlgorithm: Algorithm | EcdsaParams

    Signing algorithm

    -
    signingKey: CryptoKey
    thisUpdate?: Date
    \ No newline at end of file +

    Properties

    entries?: X509CrlEntryParams[]
    extensions?: Extension[]
    nextUpdate?: Date
    signingAlgorithm: Algorithm | EcdsaParams

    Signing algorithm

    +
    signingKey: CryptoKey
    thisUpdate?: Date
    \ No newline at end of file diff --git a/interfaces/X509CrlCreateParamsBase.html b/interfaces/X509CrlCreateParamsBase.html index 5f5dd907..e767c5a5 100644 --- a/interfaces/X509CrlCreateParamsBase.html +++ b/interfaces/X509CrlCreateParamsBase.html @@ -1,6 +1,6 @@ X509CrlCreateParamsBase | @peculiar/x509

    Interface X509CrlCreateParamsBase

    Base arguments for crl creation

    -
    interface X509CrlCreateParamsBase {
        issuer: X509CertificateCreateParamsName;
        signingAlgorithm: Algorithm | EcdsaParams;
        thisUpdate?: Date;
    }

    Hierarchy (view full)

    Properties

    interface X509CrlCreateParamsBase {
        issuer: X509CertificateCreateParamsName;
        signingAlgorithm: Algorithm | EcdsaParams;
        thisUpdate?: Date;
    }

    Hierarchy (view full)

    Properties

    signingAlgorithm: Algorithm | EcdsaParams

    Signing algorithm

    -
    thisUpdate?: Date
    \ No newline at end of file +

    Properties

    signingAlgorithm: Algorithm | EcdsaParams

    Signing algorithm

    +
    thisUpdate?: Date
    \ No newline at end of file diff --git a/interfaces/X509CrlEntryParams.html b/interfaces/X509CrlEntryParams.html index b15f1390..d132b783 100644 --- a/interfaces/X509CrlEntryParams.html +++ b/interfaces/X509CrlEntryParams.html @@ -1,8 +1,8 @@ -X509CrlEntryParams | @peculiar/x509

    Interface X509CrlEntryParams

    interface X509CrlEntryParams {
        extensions?: Extension[];
        invalidity?: Date;
        issuer?: X509CertificateCreateParamsName;
        reason?: X509CrlReason;
        revocationDate?: Date;
        serialNumber: string;
    }

    Properties

    extensions? +X509CrlEntryParams | @peculiar/x509

    Interface X509CrlEntryParams

    interface X509CrlEntryParams {
        extensions?: Extension[];
        invalidity?: Date;
        issuer?: X509CertificateCreateParamsName;
        reason?: X509CrlReason;
        revocationDate?: Date;
        serialNumber: string;
    }

    Properties

    extensions?: Extension[]
    invalidity?: Date
    reason?: X509CrlReason
    revocationDate?: Date
    serialNumber: string

    Hexadecimal serial number

    -
    \ No newline at end of file +

    Properties

    extensions?: Extension[]
    invalidity?: Date
    reason?: X509CrlReason
    revocationDate?: Date
    serialNumber: string

    Hexadecimal serial number

    +
    \ No newline at end of file diff --git a/interfaces/X509CrlVerifyParams.html b/interfaces/X509CrlVerifyParams.html index 65ac52d0..ad461ebb 100644 --- a/interfaces/X509CrlVerifyParams.html +++ b/interfaces/X509CrlVerifyParams.html @@ -1,2 +1,2 @@ -X509CrlVerifyParams | @peculiar/x509

    Interface X509CrlVerifyParams

    interface X509CrlVerifyParams {
        publicKey: CryptoKey | PublicKey | X509Certificate;
    }

    Properties

    Properties

    publicKey: CryptoKey | PublicKey | X509Certificate
    \ No newline at end of file +X509CrlVerifyParams | @peculiar/x509

    Interface X509CrlVerifyParams

    interface X509CrlVerifyParams {
        publicKey: CryptoKey | PublicKey | X509Certificate;
    }

    Properties

    Properties

    publicKey: CryptoKey | PublicKey | X509Certificate
    \ No newline at end of file diff --git a/types/AccessItemTypes.html b/types/AccessItemTypes.html index 17465337..f7b4b2ed 100644 --- a/types/AccessItemTypes.html +++ b/types/AccessItemTypes.html @@ -1 +1 @@ -AccessItemTypes | @peculiar/x509

    Type alias AccessItemTypes

    AccessItemTypes: GeneralName | GeneralName[] | string | string[]
    \ No newline at end of file +AccessItemTypes | @peculiar/x509

    Type alias AccessItemTypes

    AccessItemTypes: GeneralName | GeneralName[] | string | string[]
    \ No newline at end of file diff --git a/types/AsnDataStringFormat.html b/types/AsnDataStringFormat.html index 0c4245c1..b27f36fc 100644 --- a/types/AsnDataStringFormat.html +++ b/types/AsnDataStringFormat.html @@ -1 +1 @@ -AsnDataStringFormat | @peculiar/x509

    Type alias AsnDataStringFormat

    AsnDataStringFormat: "asn" | "text" | "hex" | "base64" | "base64url"
    \ No newline at end of file +AsnDataStringFormat | @peculiar/x509

    Type alias AsnDataStringFormat

    AsnDataStringFormat: "asn" | "text" | "hex" | "base64" | "base64url"
    \ No newline at end of file diff --git a/types/ExtendedKeyUsageType.html b/types/ExtendedKeyUsageType.html index e4ff4753..4d232f1a 100644 --- a/types/ExtendedKeyUsageType.html +++ b/types/ExtendedKeyUsageType.html @@ -1 +1 @@ -ExtendedKeyUsageType | @peculiar/x509

    Type alias ExtendedKeyUsageType

    ExtendedKeyUsageType: asn1X509.ExtendedKeyUsage | string
    \ No newline at end of file +ExtendedKeyUsageType | @peculiar/x509

    Type alias ExtendedKeyUsageType

    ExtendedKeyUsageType: asn1X509.ExtendedKeyUsage | string
    \ No newline at end of file diff --git a/types/GeneralNameType.html b/types/GeneralNameType.html index c004e4fe..86c3847a 100644 --- a/types/GeneralNameType.html +++ b/types/GeneralNameType.html @@ -1 +1 @@ -GeneralNameType | @peculiar/x509

    Type alias GeneralNameType

    GeneralNameType: typeof DNS | typeof DN | typeof EMAIL | typeof GUID | typeof IP | typeof URL | typeof UPN | typeof REGISTERED_ID
    \ No newline at end of file +GeneralNameType | @peculiar/x509

    Type alias GeneralNameType

    GeneralNameType: typeof DNS | typeof DN | typeof EMAIL | typeof GUID | typeof IP | typeof URL | typeof UPN | typeof REGISTERED_ID
    \ No newline at end of file diff --git a/types/JsonAttributeAndValue.html b/types/JsonAttributeAndValue.html index c525bf4d..86c47d10 100644 --- a/types/JsonAttributeAndValue.html +++ b/types/JsonAttributeAndValue.html @@ -1 +1 @@ -JsonAttributeAndValue | @peculiar/x509

    Type alias JsonAttributeAndValue

    \ No newline at end of file +JsonAttributeAndValue | @peculiar/x509

    Type alias JsonAttributeAndValue

    \ No newline at end of file diff --git a/types/JsonGeneralNames.html b/types/JsonGeneralNames.html index f70fe5db..cc74251e 100644 --- a/types/JsonGeneralNames.html +++ b/types/JsonGeneralNames.html @@ -1 +1 @@ -JsonGeneralNames | @peculiar/x509

    Type alias JsonGeneralNames

    JsonGeneralNames: JsonGeneralName[]
    \ No newline at end of file +JsonGeneralNames | @peculiar/x509

    Type alias JsonGeneralNames

    JsonGeneralNames: JsonGeneralName[]
    \ No newline at end of file diff --git a/types/JsonName.html b/types/JsonName.html index 686bc768..18a031e8 100644 --- a/types/JsonName.html +++ b/types/JsonName.html @@ -1,2 +1,2 @@ JsonName | @peculiar/x509

    Type alias JsonName

    JSON array of Attribute and Value

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/JsonNameParams.html b/types/JsonNameParams.html index e7e310f8..2035b934 100644 --- a/types/JsonNameParams.html +++ b/types/JsonNameParams.html @@ -1 +1 @@ -JsonNameParams | @peculiar/x509

    Type alias JsonNameParams

    JsonNameParams: JsonAttributeAndValue[]
    \ No newline at end of file +JsonNameParams | @peculiar/x509

    Type alias JsonNameParams

    JsonNameParams: JsonAttributeAndValue[]
    \ No newline at end of file diff --git a/types/MapForEachCallback.html b/types/MapForEachCallback.html index cdd38502..27015020 100644 --- a/types/MapForEachCallback.html +++ b/types/MapForEachCallback.html @@ -1 +1 @@ -MapForEachCallback | @peculiar/x509

    Type alias MapForEachCallback

    MapForEachCallback: ((value, key, map) => void)

    Type declaration

      • (value, key, map): void
      • Parameters

        • value: Crypto
        • key: string
        • map: Map<string, Crypto>

        Returns void

    \ No newline at end of file +MapForEachCallback | @peculiar/x509

    Type alias MapForEachCallback

    MapForEachCallback: ((value, key, map) => void)

    Type declaration

      • (value, key, map): void
      • Parameters

        • value: Crypto
        • key: string
        • map: Map<string, Crypto>

        Returns void

    \ No newline at end of file diff --git a/types/PemStructEncodeParams.html b/types/PemStructEncodeParams.html index da94473d..6c811c8c 100644 --- a/types/PemStructEncodeParams.html +++ b/types/PemStructEncodeParams.html @@ -1 +1 @@ -PemStructEncodeParams | @peculiar/x509

    Type alias PemStructEncodeParams

    PemStructEncodeParams: AtLeast<PemStruct, "type" | "rawData">
    \ No newline at end of file +PemStructEncodeParams | @peculiar/x509

    Type alias PemStructEncodeParams

    PemStructEncodeParams: AtLeast<PemStruct, "type" | "rawData">
    \ No newline at end of file diff --git a/types/Pkcs10CertificateRequestCreateParamsName.html b/types/Pkcs10CertificateRequestCreateParamsName.html index 87072a0f..2939b9d1 100644 --- a/types/Pkcs10CertificateRequestCreateParamsName.html +++ b/types/Pkcs10CertificateRequestCreateParamsName.html @@ -1 +1 @@ -Pkcs10CertificateRequestCreateParamsName | @peculiar/x509

    Type alias Pkcs10CertificateRequestCreateParamsName

    Pkcs10CertificateRequestCreateParamsName: string | JsonName | Name
    \ No newline at end of file +Pkcs10CertificateRequestCreateParamsName | @peculiar/x509

    Type alias Pkcs10CertificateRequestCreateParamsName

    Pkcs10CertificateRequestCreateParamsName: string | JsonName | Name
    \ No newline at end of file diff --git a/types/PublicKeyType.html b/types/PublicKeyType.html index c7c6c164..6dc047dd 100644 --- a/types/PublicKeyType.html +++ b/types/PublicKeyType.html @@ -1,2 +1,2 @@ PublicKeyType | @peculiar/x509

    Type alias PublicKeyType

    PublicKeyType: PublicKey | CryptoKey | IPublicKeyContainer | BufferSource

    Public key type. Represents a public key in different formats.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/TextObjectItemType.html b/types/TextObjectItemType.html index cf136852..cfa74fff 100644 --- a/types/TextObjectItemType.html +++ b/types/TextObjectItemType.html @@ -1 +1 @@ -TextObjectItemType | @peculiar/x509

    Type alias TextObjectItemType

    TextObjectItemType: string | number | boolean | Date | BufferSource | TextObject | TextObject[] | TextObjectConvertible
    \ No newline at end of file +TextObjectItemType | @peculiar/x509

    Type alias TextObjectItemType

    TextObjectItemType: string | number | boolean | Date | BufferSource | TextObject | TextObject[] | TextObjectConvertible
    \ No newline at end of file diff --git a/types/X509CertificateCreateParams.html b/types/X509CertificateCreateParams.html index 8594db45..0d4190ab 100644 --- a/types/X509CertificateCreateParams.html +++ b/types/X509CertificateCreateParams.html @@ -1 +1 @@ -X509CertificateCreateParams | @peculiar/x509
    \ No newline at end of file +X509CertificateCreateParams | @peculiar/x509
    \ No newline at end of file diff --git a/types/X509CertificateCreateParamsName.html b/types/X509CertificateCreateParamsName.html index e3e0ba5c..261471a1 100644 --- a/types/X509CertificateCreateParamsName.html +++ b/types/X509CertificateCreateParamsName.html @@ -1 +1 @@ -X509CertificateCreateParamsName | @peculiar/x509

    Type alias X509CertificateCreateParamsName

    X509CertificateCreateParamsName: string | JsonName | Name
    \ No newline at end of file +X509CertificateCreateParamsName | @peculiar/x509

    Type alias X509CertificateCreateParamsName

    X509CertificateCreateParamsName: string | JsonName | Name
    \ No newline at end of file diff --git a/types/X509CertificatesExportType.html b/types/X509CertificatesExportType.html index b6ec0a25..cf917c5b 100644 --- a/types/X509CertificatesExportType.html +++ b/types/X509CertificatesExportType.html @@ -1 +1 @@ -X509CertificatesExportType | @peculiar/x509

    Type alias X509CertificatesExportType

    X509CertificatesExportType: AsnExportType | "pem-chain"
    \ No newline at end of file +X509CertificatesExportType | @peculiar/x509

    Type alias X509CertificatesExportType

    X509CertificatesExportType: AsnExportType | "pem-chain"
    \ No newline at end of file diff --git a/variables/cryptoProvider-1.html b/variables/cryptoProvider-1.html index b9a59345..16806b21 100644 --- a/variables/cryptoProvider-1.html +++ b/variables/cryptoProvider-1.html @@ -1,2 +1,2 @@ cryptoProvider | @peculiar/x509

    Variable cryptoProviderConst

    cryptoProvider: CryptoProvider = ...

    Singleton crypto provider

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/variables/diAlgorithm.html b/variables/diAlgorithm.html index ebb2829c..b8a32415 100644 --- a/variables/diAlgorithm.html +++ b/variables/diAlgorithm.html @@ -1,2 +1,2 @@ diAlgorithm | @peculiar/x509

    Variable diAlgorithmConst

    diAlgorithm: "crypto.algorithm" = "crypto.algorithm"

    Dependency Injection algorithm identifier

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/variables/diAlgorithmProvider.html b/variables/diAlgorithmProvider.html index 71a09f19..c31fbf30 100644 --- a/variables/diAlgorithmProvider.html +++ b/variables/diAlgorithmProvider.html @@ -1 +1 @@ -diAlgorithmProvider | @peculiar/x509

    Variable diAlgorithmProviderConst

    diAlgorithmProvider: "crypto.algorithmProvider" = "crypto.algorithmProvider"
    \ No newline at end of file +diAlgorithmProvider | @peculiar/x509

    Variable diAlgorithmProviderConst

    diAlgorithmProvider: "crypto.algorithmProvider" = "crypto.algorithmProvider"
    \ No newline at end of file diff --git a/variables/diAsnSignatureFormatter.html b/variables/diAsnSignatureFormatter.html index 535b9b74..b2ef3044 100644 --- a/variables/diAsnSignatureFormatter.html +++ b/variables/diAsnSignatureFormatter.html @@ -1,2 +1,2 @@ diAsnSignatureFormatter | @peculiar/x509

    Variable diAsnSignatureFormatterConst

    diAsnSignatureFormatter: "crypto.signatureFormatter" = "crypto.signatureFormatter"

    Dependency injection identifier for IAsnSignatureFormatter interface

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/variables/idEd25519.html b/variables/idEd25519.html index fd7cc2e5..5952350d 100644 --- a/variables/idEd25519.html +++ b/variables/idEd25519.html @@ -1 +1 @@ -idEd25519 | @peculiar/x509

    Variable idEd25519Const

    idEd25519: "1.3.101.112" = "1.3.101.112"
    \ No newline at end of file +idEd25519 | @peculiar/x509

    Variable idEd25519Const

    idEd25519: "1.3.101.112" = "1.3.101.112"
    \ No newline at end of file diff --git a/variables/idEd448.html b/variables/idEd448.html index b164c669..ca6dff2c 100644 --- a/variables/idEd448.html +++ b/variables/idEd448.html @@ -1 +1 @@ -idEd448 | @peculiar/x509

    Variable idEd448Const

    idEd448: "1.3.101.113" = "1.3.101.113"
    \ No newline at end of file +idEd448 | @peculiar/x509

    Variable idEd448Const

    idEd448: "1.3.101.113" = "1.3.101.113"
    \ No newline at end of file diff --git a/variables/idX25519.html b/variables/idX25519.html index 630b71ba..1a5457b4 100644 --- a/variables/idX25519.html +++ b/variables/idX25519.html @@ -1 +1 @@ -idX25519 | @peculiar/x509

    Variable idX25519Const

    idX25519: "1.3.101.110" = "1.3.101.110"
    \ No newline at end of file +idX25519 | @peculiar/x509

    Variable idX25519Const

    idX25519: "1.3.101.110" = "1.3.101.110"
    \ No newline at end of file diff --git a/variables/idX448.html b/variables/idX448.html index 97f9e74e..2214a755 100644 --- a/variables/idX448.html +++ b/variables/idX448.html @@ -1 +1 @@ -idX448 | @peculiar/x509

    Variable idX448Const

    idX448: "1.3.101.111" = "1.3.101.111"
    \ No newline at end of file +idX448 | @peculiar/x509

    Variable idX448Const

    idX448: "1.3.101.111" = "1.3.101.111"
    \ No newline at end of file