public abstract class ECDSAKeyAlgorithm extends KeyAlgorithm<ECPublicKey,ECPrivateKey>
| Modifier and Type | Class and Description |
|---|---|
static class |
ECDSAKeyAlgorithm.ECDSASha2Nistp256 |
static class |
ECDSAKeyAlgorithm.ECDSASha2Nistp384 |
static class |
ECDSAKeyAlgorithm.ECDSASha2Nistp521 |
| Modifier and Type | Method and Description |
|---|---|
ECPublicKey |
decodePublicKey(byte[] key) |
byte[] |
decodeSignature(byte[] encodedSignature) |
byte[] |
encodePublicKey(ECPublicKey key) |
byte[] |
encodeSignature(byte[] sig) |
boolean |
supportsKey(PrivateKey originalKey) |
generateSignature, getCertificateDecoders, getKeyFormat, verifySignaturepublic ECPublicKey decodePublicKey(byte[] key) throws IOException
decodePublicKey in class KeyAlgorithm<ECPublicKey,ECPrivateKey>IOExceptionpublic byte[] encodePublicKey(ECPublicKey key) throws IOException
encodePublicKey in class KeyAlgorithm<ECPublicKey,ECPrivateKey>IOExceptionpublic byte[] decodeSignature(byte[] encodedSignature)
throws IOException
decodeSignature in class KeyAlgorithm<ECPublicKey,ECPrivateKey>IOExceptionpublic byte[] encodeSignature(byte[] sig)
throws IOException
encodeSignature in class KeyAlgorithm<ECPublicKey,ECPrivateKey>IOExceptionpublic boolean supportsKey(PrivateKey originalKey)
supportsKey in class KeyAlgorithm<ECPublicKey,ECPrivateKey>Copyright © 2018. All rights reserved.