Package | Description |
---|---|
org.picketlink.json |
Provides all the necessary classes to support JSON and related specifications.
|
org.picketlink.json.jose.crypto |
This package provides the cryptography related classes to sign and encrypt JSON.
|
Modifier and Type | Method and Description |
---|---|
JsonException |
JsonMessages_$bundle.cryptoSignatureFailed(Algorithm algorithm,
Throwable throwable) |
JsonException |
JsonMessages.cryptoSignatureFailed(Algorithm algorithm,
Throwable throwable) |
JsonException |
JsonMessages_$bundle.cryptoSignatureValidationFailed(Algorithm algorithm,
Throwable throwable) |
JsonException |
JsonMessages.cryptoSignatureValidationFailed(Algorithm algorithm,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
static Algorithm |
Algorithm.resolve(String name)
Resolves name of algorithm.
|
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 |
---|---|
byte[] |
SignatureProvider.sign(byte[] data,
Algorithm algorithm,
byte[] key)
Sign the data using specified algorithm and specified key.
|
byte[] |
RSASignatureProvider.sign(byte[] data,
Algorithm algorithm,
byte[] key) |
byte[] |
HMACSignatureProvider.sign(byte[] data,
Algorithm algorithm,
byte[] key) |
boolean |
SignatureProvider.verify(byte[] data,
Algorithm algorithm,
byte[] signature,
byte[] key)
Verify the data using specified algorithm, signature and specified key.
|
boolean |
RSASignatureProvider.verify(byte[] data,
Algorithm algorithm,
byte[] signature,
byte[] key) |
boolean |
HMACSignatureProvider.verify(byte[] data,
Algorithm algorithm,
byte[] signature,
byte[] key) |
Copyright © 2017. All rights reserved.