public class SecurityUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RSA |
static String |
RSA_ECB_PKCS1_PADDING |
static String |
SHA_512_WITH_RSA |
| Constructor and Description |
|---|
SecurityUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decrypt(byte[] data,
Key key) |
static PublicKey |
loadPublic(byte[] key) |
static PublicKey |
loadPublic(String keyPath) |
static boolean |
verify(byte[] signatureToVerify,
byte[] dataFile,
PublicKey publicKey) |
public static final String RSA
public static final String SHA_512_WITH_RSA
public static final String RSA_ECB_PKCS1_PADDING
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.