Package net.schmizz.sshj.common
Class ECDSAVariationsAdapter
java.lang.Object
net.schmizz.sshj.common.ECDSAVariationsAdapter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final org.slf4j.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
fieldSizeFromKey
(ECKey ecPublicKey) (package private) static boolean
isECKeyWithFieldSize
(Key key, int fieldSize) (package private) static PublicKey
readPubKeyFromBuffer
(Buffer<?> buf, String variation) (package private) static void
writePubKeyContentsIntoBuffer
(PublicKey pk, Buffer<?> buf)
-
Field Details
-
BASE_ALGORITHM_NAME
- See Also:
-
log
private static final org.slf4j.Logger log -
SUPPORTED_CURVES
-
NIST_CURVES_NAMES
-
-
Constructor Details
-
ECDSAVariationsAdapter
ECDSAVariationsAdapter()
-
-
Method Details
-
readPubKeyFromBuffer
static PublicKey readPubKeyFromBuffer(Buffer<?> buf, String variation) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
writePubKeyContentsIntoBuffer
-
isECKeyWithFieldSize
-
fieldSizeFromKey
-