| Methods in org.apache.cxf.rs.security.oauth2.utils.crypto with parameters of type KeyProperties |
static ServerAccessToken |
ModelEncryptionSupport.decryptAccessToken(OAuthDataProvider provider,
String encodedData,
Key secretKey,
KeyProperties props)
|
static ServerAccessToken |
ModelEncryptionSupport.decryptAccessToken(OAuthDataProvider provider,
String encodedToken,
String encodedSecretKey,
KeyProperties props)
|
static byte[] |
CryptoUtils.decryptBytes(byte[] bytes,
Key secretKey,
KeyProperties keyProps)
|
static Client |
ModelEncryptionSupport.decryptClient(String encodedData,
Key secretKey,
KeyProperties props)
|
static Client |
ModelEncryptionSupport.decryptClient(String encodedSequence,
String encodedSecretKey,
KeyProperties props)
|
static ServerAuthorizationCodeGrant |
ModelEncryptionSupport.decryptCodeGrant(OAuthDataProvider provider,
String encodedData,
Key key,
KeyProperties props)
|
static ServerAuthorizationCodeGrant |
ModelEncryptionSupport.decryptCodeGrant(OAuthDataProvider provider,
String encodedToken,
String encodedSecretKey,
KeyProperties props)
|
static RefreshToken |
ModelEncryptionSupport.decryptRefreshToken(OAuthDataProvider provider,
String encodedData,
Key key,
KeyProperties props)
|
static RefreshToken |
ModelEncryptionSupport.decryptRefreshToken(OAuthDataProvider provider,
String encodedToken,
String encodedSecretKey,
KeyProperties props)
|
static SecretKey |
CryptoUtils.decryptSecretKey(String encodedEncryptedSecretKey,
String secretKeyAlgo,
KeyProperties props,
PrivateKey privateKey)
|
static String |
CryptoUtils.decryptSequence(String encodedData,
Key secretKey,
KeyProperties props)
|
static String |
CryptoUtils.decryptSequence(String encodedData,
String encodedSecretKey,
KeyProperties props)
|
static String |
ModelEncryptionSupport.encryptAccessToken(ServerAccessToken token,
Key secretKey,
KeyProperties props)
|
static byte[] |
CryptoUtils.encryptBytes(byte[] bytes,
Key secretKey,
KeyProperties keyProps)
|
static String |
ModelEncryptionSupport.encryptClient(Client client,
Key secretKey,
KeyProperties props)
|
static String |
ModelEncryptionSupport.encryptCodeGrant(ServerAuthorizationCodeGrant grant,
Key secretKey,
KeyProperties props)
|
static String |
ModelEncryptionSupport.encryptRefreshToken(RefreshToken token,
Key secretKey,
KeyProperties props)
|
static String |
CryptoUtils.encryptSecretKey(SecretKey secretKey,
PublicKey publicKey,
KeyProperties props)
|
static String |
CryptoUtils.encryptSequence(String sequence,
Key secretKey,
KeyProperties keyProps)
|
static SecretKey |
CryptoUtils.getSecretKey(KeyProperties props)
|
static Cipher |
CryptoUtils.initCipher(Key secretKey,
KeyProperties keyProps,
int mode)
|
static SecretKey |
CryptoUtils.unwrapSecretKey(byte[] wrappedBytes,
String wrappedKeyAlgo,
Key unwrapperKey,
KeyProperties keyProps)
|
static byte[] |
CryptoUtils.wrapSecretKey(SecretKey secretKey,
Key wrapperKey,
KeyProperties keyProps)
|