public class EdDSAPuttyKeyDecoder extends AbstractPuttyKeyDecoder<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
Modifier and Type | Field and Description |
---|---|
static EdDSAPuttyKeyDecoder |
INSTANCE |
ENCRYPTION_HEADER
log
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 |
---|
EdDSAPuttyKeyDecoder() |
Modifier and Type | Method and Description |
---|---|
Collection<KeyPair> |
loadKeyPairs(NamedResource resourceKey,
PuttyKeyReader pubReader,
PuttyKeyReader prvReader) |
canExtractKeyPairs, extractDataLines, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs
getPrivateKeyType, getPublicKeyType, getSupportedKeyTypes
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decodePrivateKeyBytes, decodePrivateKeyBytes, toEncryptionKey
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 EdDSAPuttyKeyDecoder INSTANCE
public Collection<KeyPair> loadKeyPairs(NamedResource resourceKey, PuttyKeyReader pubReader, PuttyKeyReader prvReader) throws IOException, GeneralSecurityException
loadKeyPairs
in class AbstractPuttyKeyDecoder<net.i2p.crypto.eddsa.EdDSAPublicKey,net.i2p.crypto.eddsa.EdDSAPrivateKey>
IOException
GeneralSecurityException
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.