Interface OpenSSHKeyDecryptor
-
- All Known Subinterfaces:
OpenSSHKdfOptions
- All Known Implementing Classes:
BCryptKdfOptions,OpenSSHParserContext,RawKdfOptions
public interface OpenSSHKeyDecryptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, java.lang.String cipherName, byte[] privateDataBytes, java.lang.String password)booleanisEncrypted()
-
-
-
Method Detail
-
isEncrypted
boolean isEncrypted()
-
decodePrivateKeyBytes
byte[] decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, java.lang.String cipherName, byte[] privateDataBytes, java.lang.String password) throws java.io.IOException, java.security.GeneralSecurityException
- Throws:
java.io.IOExceptionjava.security.GeneralSecurityException
-
-