Class ECDSAPuttyKeyDecoder
- All Implemented Interfaces:
IdentityResourceLoader<ECPublicKey, ECPrivateKey>, KeyTypeNamesSupport, KeyPairResourceLoader, KeyPairResourceParser, PuttyKeyPairResourceParser<ECPublicKey, ECPrivateKey>
TODO Add javadoc
-
Field Summary
FieldsFields inherited from class AbstractPuttyKeyDecoder
ENCRYPTION_HEADERFields inherited from class AbstractLoggingBean
logFields inherited from interface IdentityResourceLoader
MAX_BIGINT_OCTETS_COUNTFields inherited from interface KeyPairResourceLoader
MAX_CIPHER_NAME_LENGTH, MAX_KEY_COMMENT_LENGTH, MAX_KEY_TYPE_NAME_LENGTH, MAX_PRIVATE_KEY_DATA_SIZE, MAX_PUBLIC_KEY_DATA_SIZEFields inherited from interface KeyPairResourceParser
EMPTYFields inherited from interface PuttyKeyPairResourceParser
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadKeyPairs(NamedResource resourceKey, int formatVersion, PuttyKeyReader pubReader, PuttyKeyReader prvReader, Map<String, String> headers) Methods inherited from class AbstractPuttyKeyDecoder
canExtractKeyPairs, extractDataLines, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairsMethods inherited from class AbstractIdentityResourceLoader
getPrivateKeyType, getPublicKeyType, getSupportedKeyTypesMethods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IdentityResourceLoader
getPrivateKeyType, getPublicKeyTypeMethods inherited from interface KeyPairResourceLoader
loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairsMethods inherited from interface KeyTypeNamesSupport
getSupportedKeyTypes
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ECDSAPuttyKeyDecoder
public ECDSAPuttyKeyDecoder()
-
-
Method Details
-
loadKeyPairs
public Collection<KeyPair> loadKeyPairs(NamedResource resourceKey, int formatVersion, PuttyKeyReader pubReader, PuttyKeyReader prvReader, Map<String, String> headers) throws IOException, GeneralSecurityException- Specified by:
loadKeyPairsin classAbstractPuttyKeyDecoder<ECPublicKey, ECPrivateKey>- Throws:
IOExceptionGeneralSecurityException
-