public class DSAKeyAlgorithm extends KeyAlgorithm<DSAPublicKey,DSAPrivateKey>
Constructor and Description |
---|
DSAKeyAlgorithm() |
Modifier and Type | Method and Description |
---|---|
DSAPublicKey |
decodePublicKey(byte[] encodedPublicKey) |
byte[] |
decodeSignature(byte[] encodedSignature) |
byte[] |
encodePublicKey(DSAPublicKey publicKey) |
byte[] |
encodeSignature(byte[] signature) |
List<CertificateDecoder> |
getCertificateDecoders() |
generateSignature, getKeyFormat, supportsKey, verifySignature
public byte[] encodeSignature(byte[] signature) throws IOException
encodeSignature
in class KeyAlgorithm<DSAPublicKey,DSAPrivateKey>
IOException
public byte[] decodeSignature(byte[] encodedSignature) throws IOException
decodeSignature
in class KeyAlgorithm<DSAPublicKey,DSAPrivateKey>
IOException
public byte[] encodePublicKey(DSAPublicKey publicKey) throws IOException
encodePublicKey
in class KeyAlgorithm<DSAPublicKey,DSAPrivateKey>
IOException
public DSAPublicKey decodePublicKey(byte[] encodedPublicKey) throws IOException
decodePublicKey
in class KeyAlgorithm<DSAPublicKey,DSAPrivateKey>
IOException
public List<CertificateDecoder> getCertificateDecoders()
getCertificateDecoders
in class KeyAlgorithm<DSAPublicKey,DSAPrivateKey>
Copyright © 2020. All rights reserved.