Package | Description |
---|---|
org.keycloak.jose.jws | |
org.keycloak.jose.jws.crypto |
Modifier and Type | Method and Description |
---|---|
Algorithm |
JWSHeader.getAlgorithm() |
static Algorithm |
Algorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
Algorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JWSBuilder.encode(Algorithm alg,
byte[] data,
StringBuffer encoding) |
protected String |
JWSBuilder.encodeHeader(Algorithm alg) |
Constructor and Description |
---|
JWSHeader(Algorithm algorithm,
String type,
String contentType) |
Modifier and Type | Method and Description |
---|---|
static String |
RSAProvider.getJavaAlgorithm(Algorithm alg) |
static Signature |
RSAProvider.getSignature(Algorithm alg) |
static byte[] |
HMACProvider.sign(byte[] data,
Algorithm algorithm,
byte[] sharedSecret) |
static byte[] |
RSAProvider.sign(byte[] data,
Algorithm algorithm,
PrivateKey privateKey) |
static byte[] |
HMACProvider.sign(byte[] data,
Algorithm algorithm,
SecretKey key) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.