Class ECDSAKeyAlgorithm
java.lang.Object
com.trilead.ssh2.signature.KeyAlgorithm<ECPublicKey, ECPrivateKey>
com.trilead.ssh2.signature.ECDSAKeyAlgorithm
- Direct Known Subclasses:
ECDSAKeyAlgorithm.ECDSASha2Nistp256, ECDSAKeyAlgorithm.ECDSASha2Nistp384, ECDSAKeyAlgorithm.ECDSASha2Nistp521
- Author:
- Michael Clarke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic ECPointdecodePoint(byte[] encodedPoint, EllipticCurve curve) decodePublicKey(byte[] key) byte[]decodeSignature(byte[] encodedSignature) static byte[]encodePoint(ECPoint group, EllipticCurve curve) byte[]byte[]encodeSignature(byte[] sig) abstract Stringstatic Stringstatic ECDSAKeyAlgorithmgetVerifierForKey(ECKey key) booleansupportsKey(PrivateKey originalKey) Methods inherited from class KeyAlgorithm
generateSignature, getCertificateDecoders, getKeyFormat, verifySignature
-
Method Details
-
getEcParameterSpec
-
decodePublicKey
- Specified by:
decodePublicKeyin classKeyAlgorithm<ECPublicKey, ECPrivateKey>- Throws:
IOException
-
encodePublicKey
- Specified by:
encodePublicKeyin classKeyAlgorithm<ECPublicKey, ECPrivateKey>- Throws:
IOException
-
decodeSignature
- Specified by:
decodeSignaturein classKeyAlgorithm<ECPublicKey, ECPrivateKey>- Throws:
IOException
-
encodeSignature
- Specified by:
encodeSignaturein classKeyAlgorithm<ECPublicKey, ECPrivateKey>- Throws:
IOException
-
supportsKey
- Overrides:
supportsKeyin classKeyAlgorithm<ECPublicKey, ECPrivateKey>
-
decodePoint
-
encodePoint
-
getDigestAlgorithmForParams
-
getVerifierForKey
-
getDigestAlgorithm
-