Class OpenSSHParserContext
java.lang.Object
org.apache.sshd.common.config.keys.loader.openssh.OpenSSHParserContext
- All Implemented Interfaces:
OpenSSHKeyDecryptor
- Author:
- Apache MINA SSHD Project
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password) booleanvoidsetCipherName(String cipherName) voidsetKdfOptions(OpenSSHKdfOptions kdfOptions) toString()
-
Field Details
-
NONE_CIPHER
- See Also:
-
IS_NONE_CIPHER
-
-
Constructor Details
-
OpenSSHParserContext
public OpenSSHParserContext() -
OpenSSHParserContext
-
-
Method Details
-
isEncrypted
public boolean isEncrypted()- Specified by:
isEncryptedin interfaceOpenSSHKeyDecryptor
-
getCipherName
-
setCipherName
-
getKdfOptions
-
setKdfOptions
-
decodePrivateKeyBytes
public byte[] decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, String cipherName, byte[] privateDataBytes, String password) throws IOException, GeneralSecurityException - Specified by:
decodePrivateKeyBytesin interfaceOpenSSHKeyDecryptor- Throws:
IOExceptionGeneralSecurityException
-
toString
-