com.mindbright.ssh2
public interface SSH2PKISigner
SSH2AuthPublicKey
Modifier and Type | Method and Description |
---|---|
void |
clearSensitiveData()
Try to remove any sensitive data from memory.
|
java.lang.String |
getAlgorithmName()
Get the algorithm name.
|
byte[] |
getPublicKeyBlob()
Get the public key blob encoded according to the ssh standard.
|
void |
setIncompatibility(SSH2Transport transport)
Set eventual incompatibility modes depending on the remote end.
|
byte[] |
sign(byte[] data)
Sign a blob of data.
|
java.lang.String getAlgorithmName()
byte[] getPublicKeyBlob() throws SSH2SignatureException
SSH2SignatureException
byte[] sign(byte[] data) throws SSH2SignatureException
data
- The data to be signed.SSH2SignatureException
void setIncompatibility(SSH2Transport transport)
transport
- An SSH2Transport
object which identifies the
other end.void clearSensitiveData()