Package com.hierynomus.sshj.key
Interface KeyAlgorithm
- All Known Implementing Classes:
BaseKeyAlgorithm
public interface KeyAlgorithm
In [RFC4252], the concept "public key algorithm" is used to establish
a relationship between one algorithm name, and:
A. procedures used to generate and validate a private/public keypair; B. a format used to encode a public key; and C. procedures used to calculate, encode, and verify a signature.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
putPubKeyIntoBuffer
(PublicKey pk, Buffer<?> buf) readPubKeyFromBuffer
(Buffer<?> buf)
-
Method Details
-
readPubKeyFromBuffer
- Throws:
GeneralSecurityException
-
putPubKeyIntoBuffer
-
getKeyAlgorithm
String getKeyAlgorithm() -
getKeyFormat
KeyType getKeyFormat() -
newSignature
Signature newSignature()
-