Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RSASSAPSSParams

Represents the RSASSAPSSParams structure described in RFC4055

Hierarchy

Implements

Index

Constructors

Properties

hashAlgorithm: AlgorithmIdentifier

Algorithms of hashing (DEFAULT sha1)

maskGenAlgorithm: AlgorithmIdentifier

Salt length (DEFAULT 20)

saltLength: number

Salt length (DEFAULT 20)

trailerField: number

(DEFAULT 1)

CLASS_NAME: string = "RSASSAPSSParams"

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: "hashAlgorithm"): AlgorithmIdentifier
  • defaultValues(memberName: "maskGenAlgorithm"): AlgorithmIdentifier
  • defaultValues(memberName: "saltLength"): number
  • defaultValues(memberName: "trailerField"): number
  • 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

    RSASSA-PSS-params ::= Sequence  {
       hashAlgorithm      [0] HashAlgorithm DEFAULT sha1Identifier,
       maskGenAlgorithm   [1] MaskGenAlgorithm DEFAULT mgf1SHA1Identifier,
       saltLength         [2] Integer DEFAULT 20,
       trailerField       [3] Integer DEFAULT 1  }
    

    Parameters

    Returns any

    ASN.1 schema object

Generated using TypeDoc