public class CryptoRuntime extends Object
| 构造器和说明 |
|---|
CryptoRuntime() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2020. All Rights Reserved.