Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PBKDF2Params

Represents the PBKDF2Params structure described in RFC2898

Hierarchy

Implements

Index

Constructors

Properties

iterationCount: number
keyLength?: number
salt: any
CLASS_NAME: string = "PBKDF2Params"

Name of the class

Accessors

  • get className(): string

Methods

  • fromSchema(schema: any): void
  • toSchema(): Sequence
  • toString(encoding?: "base64" | "base64url" | "hex"): string
  • blockName(): string
  • defaultValues(memberName: "salt"): any
  • defaultValues(memberName: "iterationCount"): number
  • defaultValues(memberName: "keyLength"): number
  • defaultValues(memberName: "prf"): AlgorithmIdentifier
  • fromBER<T>(this: PkiObjectConstructor<T>, raw: BufferSource): T
  • Creates PKI object from the raw data

    Type Parameters

    Parameters

    • this: PkiObjectConstructor<T>
    • raw: BufferSource

      ASN.1 encoded raw data

    Returns T

    Initialized and filled current class object

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

    asn

    ASN.1 schema

    PBKDF2-params ::= SEQUENCE {
       salt CHOICE {
           specified OCTET STRING,
           otherSource AlgorithmIdentifier },
     iterationCount INTEGER (1..MAX),
     keyLength INTEGER (1..MAX) OPTIONAL,
     prf AlgorithmIdentifier
       DEFAULT { algorithm hMAC-SHA1, parameters NULL } }
    

    Parameters

    Returns any

    ASN.1 schema object

Generated using TypeDoc