public class RSAProvider extends Object implements SignatureProvider
Constructor and Description |
---|
RSAProvider() |
Modifier and Type | Method and Description |
---|---|
static String |
getJavaAlgorithm(Algorithm alg) |
static Signature |
getSignature(Algorithm alg) |
static byte[] |
sign(byte[] data,
Algorithm algorithm,
PrivateKey privateKey) |
static boolean |
verify(JWSInput input,
PublicKey publicKey) |
boolean |
verify(JWSInput input,
String key) |
static boolean |
verifyViaCertificate(JWSInput input,
String cert) |
public static byte[] sign(byte[] data, Algorithm algorithm, PrivateKey privateKey)
public boolean verify(JWSInput input, String key)
verify
in interface SignatureProvider
Copyright © 2019 JBoss by Red Hat. All rights reserved.