Interface OpenSSHKeyDecryptor
-
- All Known Subinterfaces:
OpenSSHKdfOptions
- All Known Implementing Classes:
BCryptKdfOptions,OpenSSHParserContext,RawKdfOptions
public interface OpenSSHKeyDecryptor- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password)booleanisEncrypted()
-
-
-
Method Detail
-
isEncrypted
boolean isEncrypted()
-
decodePrivateKeyBytes
byte[] decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password) throws IOException, GeneralSecurityException
- Throws:
IOExceptionGeneralSecurityException
-
-