| Package | Description |
|---|---|
| io.smallrye.jwt.algorithm | |
| io.smallrye.jwt.util |
| Modifier and Type | Method and Description |
|---|---|
static KeyEncryptionAlgorithm |
KeyEncryptionAlgorithm.fromAlgorithm(String algorithmName) |
static KeyEncryptionAlgorithm |
KeyEncryptionAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyEncryptionAlgorithm[] |
KeyEncryptionAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
protected static EnumMap<KeyEncryptionAlgorithm,Integer> |
KeyUtils.KEY_ENCRYPTION_BITS |
| Modifier and Type | Method and Description |
|---|---|
static PrivateKey |
KeyUtils.decodeDecryptionPrivateKey(String pemEncoded,
KeyEncryptionAlgorithm algo)
Decode a decryption PEM private key
|
static PublicKey |
KeyUtils.decodeEncryptionPublicKey(String pemEncoded,
KeyEncryptionAlgorithm algo) |
static SecretKey |
KeyUtils.generateSecretKey(KeyEncryptionAlgorithm algo)
Generates a SecretKey.
|
static PrivateKey |
KeyUtils.readDecryptionPrivateKey(String pemResName,
KeyEncryptionAlgorithm algo) |
static Key |
KeyUtils.readEncryptionKey(String location,
String kid,
KeyEncryptionAlgorithm alg) |
static PublicKey |
KeyUtils.readEncryptionPublicKey(String pemResName,
KeyEncryptionAlgorithm algo) |
Copyright © 2018–2021. All rights reserved.