RsaSsaPssParams
RSASSA-PSS parameters as specified by RFC 4055, section 3.1:
RSASSA-PSS-params ::= SEQUENCE {
hashAlgorithm [0] HashAlgorithm DEFAULT sha1Identifier,
maskGenAlgorithm [1] MaskGenAlgorithm DEFAULT mgf1SHA1Identifier,
saltLength [2] INTEGER DEFAULT 20,
trailerField [3] TrailerField DEFAULT trailerFieldBC
}Content copied to clipboard
The encoded fields are optional because the ASN.1 type defines defaults. The effective* accessors expose the RFC defaults without forcing callers to reject unsupported parameter combinations while parsing an outer X509AlgorithmIdentifier.
Constructors
Link copied to clipboard
constructor(hashAlgorithm: X509AlgorithmIdentifier = SHA1_IDENTIFIER, maskGenAlgorithm: X509AlgorithmIdentifier = MGF1_SHA1_IDENTIFIER, saltLength: Int = DEFAULT_SALT_LENGTH, trailerField: Int = DEFAULT_TRAILER_FIELD)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Hidden from Objective-C because a throwing getter cannot be bridged (see KT-63047); from Swift/Objective-C use the throwing effectiveSaltLength() accessor instead.
Link copied to clipboard
Hidden from Objective-C because a throwing getter cannot be bridged (see KT-63047); from Swift/Objective-C use the throwing effectiveTrailerField() accessor instead.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard