Package com.hierynomus.sshj.key
Class BaseKeyAlgorithm
java.lang.Object
com.hierynomus.sshj.key.BaseKeyAlgorithm
- All Implemented Interfaces:
KeyAlgorithm
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final KeyType
private final Factory.Named
<Signature> -
Constructor Summary
ConstructorsConstructorDescriptionBaseKeyAlgorithm
(String keyAlgorithm, Factory.Named<Signature> signature, KeyType keyFormat) -
Method Summary
Modifier and TypeMethodDescriptionvoid
putPubKeyIntoBuffer
(PublicKey pk, Buffer<?> buf) readPubKeyFromBuffer
(Buffer<?> buf)
-
Field Details
-
keyAlgorithm
-
signature
-
keyFormat
-
-
Constructor Details
-
BaseKeyAlgorithm
-
-
Method Details
-
putPubKeyIntoBuffer
- Specified by:
putPubKeyIntoBuffer
in interfaceKeyAlgorithm
-
readPubKeyFromBuffer
- Specified by:
readPubKeyFromBuffer
in interfaceKeyAlgorithm
- Throws:
GeneralSecurityException
-
getKeyAlgorithm
- Specified by:
getKeyAlgorithm
in interfaceKeyAlgorithm
-
getKeyFormat
- Specified by:
getKeyFormat
in interfaceKeyAlgorithm
-
newSignature
- Specified by:
newSignature
in interfaceKeyAlgorithm
-