decryptPbes2Attempt

private fnSshSigner decryptPbes2Attempt(const Pbes2Params params, const(ubyte)[] passphrase)

Performs one PBES2 decrypt-and-adopt attempt.

Parameters

paramsParsed PBES2 parameters.
passphraseThis attempt's passphrase.

Returns

The adopted signer.

Throws

SshKeyPassphraseException when the padding or the

decrypted structure rejects the passphrase.