Class AttributeFactory

Static class to manage X509 attributes

Constructors

Properties

Methods

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);
    

Generated using TypeDoc