|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSH2PKISigner
This interface is a simple abstraction of a PKI signing mechanism. An implementation of this interface can use certificates or plain public keys, this is something which is defined by the ssh2 specific algorithm name used to identify it.
SSH2AuthPublicKey
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |