| Package | Description |
|---|---|
| org.jose4j.jwe | |
| org.jose4j.jws | |
| org.jose4j.jwx | |
| org.jose4j.mac |
| Modifier and Type | Method and Description |
|---|---|
void |
EcdhKeyAgreementWithAesKeyWrapAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
AesGcmKeyEncryptionAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
AesKeyWrapManagementAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
DirectKeyManagementAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
RsaKeyManagementAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
EcdhKeyAgreementAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
KeyManagementAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
Pbes2HmacShaWithAesKeyWrapAlgorithm.validateDecryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
EcdhKeyAgreementWithAesKeyWrapAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
AesGcmKeyEncryptionAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
AesKeyWrapManagementAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
DirectKeyManagementAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
RsaKeyManagementAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
EcdhKeyAgreementAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
KeyManagementAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
Pbes2HmacShaWithAesKeyWrapAlgorithm.validateEncryptionKey(Key managementKey,
ContentEncryptionAlgorithm contentEncryptionAlg) |
void |
Pbes2HmacShaWithAesKeyWrapAlgorithm.validateKey(Key managementKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
RsaUsingShaAlgorithm.validatePrivateKey(PrivateKey privateKey) |
void |
EcdsaUsingShaAlgorithm.validatePrivateKey(PrivateKey privateKey) |
abstract void |
BaseSignatureAlgorithm.validatePrivateKey(PrivateKey privateKey) |
void |
RsaUsingShaAlgorithm.validatePublicKey(PublicKey key) |
void |
EcdsaUsingShaAlgorithm.validatePublicKey(PublicKey publicKey) |
abstract void |
BaseSignatureAlgorithm.validatePublicKey(PublicKey publicKey) |
void |
JsonWebSignatureAlgorithm.validateSigningKey(Key key) |
void |
HmacUsingShaAlgorithm.validateSigningKey(Key key) |
void |
PlaintextNoneAlgorithm.validateSigningKey(Key key) |
void |
BaseSignatureAlgorithm.validateSigningKey(Key key) |
void |
JsonWebSignatureAlgorithm.validateVerificationKey(Key key) |
void |
HmacUsingShaAlgorithm.validateVerificationKey(Key key) |
void |
PlaintextNoneAlgorithm.validateVerificationKey(Key key) |
void |
BaseSignatureAlgorithm.validateVerificationKey(Key key) |
| Modifier and Type | Method and Description |
|---|---|
static <K extends Key> |
KeyValidationSupport.castKey(Key key,
Class<K> type) |
static void |
KeyValidationSupport.cekNotAllowed(byte[] cekOverride,
String alg) |
static void |
KeyValidationSupport.checkRsaKeySize(Key key) |
static void |
KeyValidationSupport.notNull(Key key) |
static void |
KeyValidationSupport.validateAesWrappingKey(Key managementKey,
String joseAlg,
int expectedKeyByteLength) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MacUtil.initMacWithKey(Mac mac,
Key key) |
Copyright © 2020. All rights reserved.