public abstract class Ssh2BaseJCEPrivateKey extends Object implements SshPrivateKey
Modifier and Type | Field and Description |
---|---|
protected Provider |
customProvider |
protected PrivateKey |
prv |
Constructor and Description |
---|
Ssh2BaseJCEPrivateKey(PrivateKey prv) |
Ssh2BaseJCEPrivateKey(PrivateKey prv,
Provider customProvider) |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
getJCEPrivateKey() |
protected Signature |
getJCESignature(String algorithm) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithm, sign, sign
protected PrivateKey prv
protected Provider customProvider
public Ssh2BaseJCEPrivateKey(PrivateKey prv)
public Ssh2BaseJCEPrivateKey(PrivateKey prv, Provider customProvider)
public PrivateKey getJCEPrivateKey()
getJCEPrivateKey
in interface SshPrivateKey
protected Signature getJCESignature(String algorithm) throws NoSuchAlgorithmException
NoSuchAlgorithmException
Copyright © 2024. All rights reserved.