public class BouncyCastleGeneratorHostKeyProvider extends AbstractGeneratorHostKeyProvider
DEFAULT_ALGORITHM, DEFAULT_ALLOWED_TO_OVERWRITE
log
ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_ED25519, SSH_RSA
EMPTY_KEYS_PROVIDER, LOADER
Constructor and Description |
---|
BouncyCastleGeneratorHostKeyProvider(Path path) |
Modifier and Type | Method and Description |
---|---|
protected void |
doWriteKeyPair(String resourceKey,
KeyPair kp,
OutputStream outputStream) |
clearLoadedKeys, doReadKeyPair, generateKeyPair, getAlgorithm, getKeySize, getKeySpec, getPath, isOverwriteAllowed, loadFromFile, loadKeys, readKeyPair, resolveKeyPair, setAlgorithm, setKeySize, setKeySpec, setOverwriteAllowed, setPath, writeKeyPair
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyTypes, loadKey, wrap, wrap
iterableOf, iteratorOf, iteratorOf, multiProvider, multiProvider, resolveKeyIdentityProvider, wrapKeyPairs, wrapKeyPairs
public BouncyCastleGeneratorHostKeyProvider(Path path)
protected void doWriteKeyPair(String resourceKey, KeyPair kp, OutputStream outputStream) throws IOException, GeneralSecurityException
doWriteKeyPair
in class AbstractGeneratorHostKeyProvider
IOException
GeneralSecurityException
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.