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
Getter may throw but we cannot annotate due to https://youtrack.jetbrains.com/issue/KT-63047/Throws-annotation-on-getter-leads-to-compile-time-error-for-iOS-target
Link copied to clipboard
Getter may throw but we cannot annotate due to https://youtrack.jetbrains.com/issue/KT-63047/Throws-annotation-on-getter-leads-to-compile-time-error-for-iOS-target
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard