com.mindbright.ssh2
Interface SSH2PKISigner

All Known Implementing Classes:
SSH2Signature

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.

See Also:
SSH2AuthPublicKey

Method Summary
 java.lang.String getAlgorithmName()
           
 byte[] getPublicKeyBlob()
           
 void setIncompatibility(SSH2Transport transport)
           
 byte[] sign(byte[] data)
           
 

Method Detail

getAlgorithmName

public java.lang.String getAlgorithmName()

getPublicKeyBlob

public byte[] getPublicKeyBlob()
                        throws SSH2SignatureException
SSH2SignatureException

sign

public byte[] sign(byte[] data)
            throws SSH2SignatureException
SSH2SignatureException

setIncompatibility

public void setIncompatibility(SSH2Transport transport)