public class ECDSAPuttyKeyDecoder extends AbstractPuttyKeyDecoder<ECPublicKey,ECPrivateKey>
Modifier and Type | Field and Description |
---|---|
static ECDSAPuttyKeyDecoder |
INSTANCE |
ENCRYPTION_HEADER
log
FORMAT_3_MAC_KEY_LENGTH, KEY_FILE_HEADER_PREFIX, KNOWN_HEADERS, NO_PRIVATE_KEY_ENCRYPTION_VALUE, PPK_FILE_SUFFIX, PRIVATE_LINES_HEADER, PUBLIC_LINES_HEADER
MAX_BIGINT_OCTETS_COUNT
EMPTY
MAX_CIPHER_NAME_LENGTH, MAX_KEY_COMMENT_LENGTH, MAX_KEY_TYPE_NAME_LENGTH, MAX_PRIVATE_KEY_DATA_SIZE, MAX_PUBLIC_KEY_DATA_SIZE
Constructor and Description |
---|
ECDSAPuttyKeyDecoder() |
Modifier and Type | Method and Description |
---|---|
Collection<KeyPair> |
loadKeyPairs(NamedResource resourceKey,
int formatVersion,
PuttyKeyReader pubReader,
PuttyKeyReader prvReader,
Map<String,String> headers) |
canExtractKeyPairs, extractDataLines, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs
getPrivateKeyType, getPublicKeyType, getSupportedKeyTypes
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decodeEncryptionKey, decodePrivateKeyBytes, decodePrivateKeyBytes, deriveFormat2EncryptionKey, deriveFormat3EncryptionKey, getHexArrayHeaderValue, getIntegerHeaderValue, getStringHeaderValue
getPrivateKeyType, getPublicKeyType
findSupporterByKeyTypeName, getSupportedKeyTypes
aggregate, aggregate, containsMarkerLine, containsMarkerLine, extractDataBytes, findMarkerLine, findMarkerLine, joinDataLines
loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs
public static final ECDSAPuttyKeyDecoder INSTANCE
public Collection<KeyPair> loadKeyPairs(NamedResource resourceKey, int formatVersion, PuttyKeyReader pubReader, PuttyKeyReader prvReader, Map<String,String> headers) throws IOException, GeneralSecurityException
loadKeyPairs
in class AbstractPuttyKeyDecoder<ECPublicKey,ECPrivateKey>
IOException
GeneralSecurityException
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.