public class CryptoRuntime extends Object
| Constructor and Description |
|---|
CryptoRuntime() |
| Modifier and Type | Method and Description |
|---|---|
static RSAPrivateKeySpec |
convertPemPKCS1ToPrivateKey(byte[] buffer) |
static void |
enableBouncyCastle()
Checks if the crypto mode is supported by the runtime.
|
public static void enableBouncyCastle()
UnsupportedOperationException - if the necessary security provider
cannot be foundpublic static RSAPrivateKeySpec convertPemPKCS1ToPrivateKey(byte[] buffer)
Copyright © 2021. All Rights Reserved.