| Package | Description |
|---|---|
| org.jboss.aerogear.crypto | |
| org.jboss.aerogear.crypto.encoders | |
| org.jboss.aerogear.crypto.keys | |
| org.jboss.aerogear.crypto.signature |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
CryptoBox.decrypt(String IV,
String cipherText,
Encoder encoder)
Given the IV, decrypt the provided data
|
String |
Hash.digest(byte[] message,
Encoder encoder) |
String |
Hmac.digest(Encoder encoder,
byte[] message) |
String |
Hash.digest(String message,
Encoder encoder) |
byte[] |
CryptoBox.encrypt(String IV,
String message,
Encoder encoder)
Given the IV, encrypt and encode the provided data
|
static String |
RandomUtils.randomBytes(int n,
Encoder encoder)
Generates a number random bytes specified by the user
|
| Constructor and Description |
|---|
CryptoBox(String key,
Encoder encoder)
Initializes the box providing the secret key and encoder
|
| Modifier and Type | Class and Description |
|---|---|
class |
Base64 |
class |
Hex
Converts hexadecimal Strings.
|
class |
Raw
Converts raw Strings
|
class |
UrlBase64
Url-safe Base64 Encoder
|
| Constructor and Description |
|---|
KeyPair(String privateKey,
String publicKey,
Encoder encoder) |
PrivateKey(String secretKey,
Encoder encoder)
Initializes the private key with the provided string and encoder
|
| Modifier and Type | Method and Description |
|---|---|
String |
SigningKey.sign(String message,
Encoder encoder) |
Boolean |
VerifyKey.verify(String message,
String signature,
Encoder encoder) |
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.