public class RawKdfOptions extends Object implements OpenSSHKdfOptions
IS_NONE_KDF, MAX_KDF_NAME_LENGTH, MAX_KDF_OPTIONS_SIZE, NONE_KDFBY_NAME_COMPARATOR, NAME_EXTRACTOR| Constructor and Description |
|---|
RawKdfOptions() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decodePrivateKeyBytes(SessionContext session,
NamedResource resourceKey,
CipherFactory cipherSpec,
byte[] privateDataBytes,
String password) |
boolean |
equals(Object obj) |
String |
getName() |
byte[] |
getOptions() |
int |
hashCode() |
void |
initialize(String name,
byte[] kdfOptions) |
boolean |
isEncrypted() |
void |
setName(String name) |
void |
setOptions(byte[] options) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitfindByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByNamepublic void initialize(String name, byte[] kdfOptions) throws IOException
initialize in interface OpenSSHKdfOptionsIOExceptionpublic String getName()
getName in interface NamedResourcepublic void setName(String name)
public byte[] getOptions()
public void setOptions(byte[] options)
public boolean isEncrypted()
isEncrypted in interface OpenSSHKeyDecryptorpublic byte[] decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, CipherFactory cipherSpec, byte[] privateDataBytes, String password) throws IOException, GeneralSecurityException
decodePrivateKeyBytes in interface OpenSSHKeyDecryptorIOExceptionGeneralSecurityExceptionCopyright © 2018–2024 The Apache Software Foundation. All rights reserved.