Class RSAPublicKey

Represents the RSAPublicKey structure described in RFC3447

Hierarchy

Implements

Constructors

Properties

modulus: Integer

Modulus part of RSA public key

publicExponent: Integer

Public exponent of RSA public key

CLASS_NAME: string = "RSAPublicKey"

Name of the class

Accessors

  • get className(): string
  • Returns string

Methods

  • Parameters

    • encoding: "base64" | "base64url" | "hex" = "hex"

    Returns string

  • Returns default values for all class members

    Returns

    Default value

    Parameters

    • memberName: "modulus" | "publicExponent"

      String name for a class member

    Returns Integer

  • Creates PKI object from the raw data

    Returns

    Initialized and filled current class object

    Type Parameters

    Parameters

    • this: PkiObjectConstructor<T>
    • raw: BufferSource

      ASN.1 encoded raw data

    Returns T

  • Returns value of pre-defined ASN.1 schema for current class

    Returns

    ASN.1 schema object

    Parameters

    • parameters: SchemaParameters<{ modulus?: string; publicExponent?: string }> = {}

      Input parameters for the schema

    Returns any

Generated using TypeDoc