An exception thrown by SSHPrivateKeyFile implementations to indicate that an invalid passphrase was supplied.
For a list of all members of this type, see InvalidPassphraseException Members.
System.Object
System.Exception
Maverick.PublicKey.InvalidPassphraseException
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
A SSHPrivateKeyFile implementation should attempt to throw this exception when the passphrase supplied by the user is invalid. Some private key formats make this difficult because there are no markers in the decrypted data to check against. This exception is used where ever possible to indicate an invalid passphrase however format exceptions identified by SSHException could also indicate an invalid passphrase.
Namespace: Maverick.PublicKey
Assembly: Maverick.NET (in Maverick.NET.dll)
InvalidPassphraseException Members | Maverick.PublicKey Namespace