public class RSAProvider extends Object
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) |
public static byte[] sign(byte[] data, Algorithm algorithm, PrivateKey privateKey)
Copyright © 2015 JBoss by Red Hat. All rights reserved.