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