of

fun of(algorithmIdentifier: X509AlgorithmIdentifier, der: Der = DER): RsaSsaPssParams(source)

Asserts that this identifier uses the id-RSASSA-PSS OID, then parses its X509AlgorithmIdentifier.parameters as RSASSA-PSS parameters.

This helper models RFC 4055, section 3.1.

Throws

if this algorithm is RSA_SSA_PSS has no parameters, or the parameter element is not a valid RSASSA-PSS-params SEQUENCE.