| 程序包 | 说明 |
|---|---|
| com.jn.langx.security.crypto.cipher | |
| com.jn.langx.security.crypto.key | |
| com.jn.langx.util |
This package contain all most utility classes for java coding
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Ciphers.createAlgorithmTransformation(String algorithm,
String mode,
String padding) |
static String |
Ciphers.createAlgorithmTransformation(String algorithm,
String mode,
String padding) |
static String |
Ciphers.createAlgorithmTransformation(String algorithm,
String mode,
String padding) |
| 限定符和类型 | 方法和说明 |
|---|---|
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
AlgorithmParameterSpec parameterSpec,
SecureRandom secureRandom) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
byte[] base64PrivateKey,
byte[] base64PublicKey) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
int keyLength,
SecureRandom secureRandom) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
KeySpec privateKeySpec,
KeySpec publicKeySpec) |
static KeyPair |
PKIs.createKeyPair(String algorithm,
String provider,
String base64PrivateKey,
String base64PublicKey) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
byte[] base64Pkcs8PrivateKey) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
byte[] base64Pkcs8PrivateKey) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
byte[] pkcs8PrivateKey,
boolean base64ed) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
byte[] pkcs8PrivateKey,
boolean base64ed) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
KeySpec keySpec) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
String base64Pkcs8PrivateKey) |
static PrivateKey |
PKIs.createPrivateKey(String algorithm,
String provider,
String base64Pkcs8PrivateKey) |
static PublicKey |
PKIs.createPublicKey(String algorithm,
String provider,
byte[] base64PublicKey) |
static PublicKey |
PKIs.createPublicKey(String algorithm,
String provider,
byte[] base64PublicKey) |
static PublicKey |
PKIs.createPublicKey(String algorithm,
String provider,
KeySpec keySpec) |
static PublicKey |
PKIs.createPublicKey(String algorithm,
String provider,
String base64PublicKey) |
static PublicKey |
PKIs.createPublicKey(String algorithm,
String provider,
String base64PublicKey) |
static SecretKey |
PKIs.createSecretKey(String algorithm,
byte[] bytes) |
static SecretKey |
PKIs.createSecretKey(String algorithm,
String provider,
AlgorithmParameterSpec parameterSpec,
SecureRandom secureRandom) |
static SecretKey |
PKIs.createSecretKey(String algorithm,
String provider,
Integer keySize,
SecureRandom secureRandom) |
static SecretKey |
PKIs.createSecretKey(String algorithm,
String provider,
KeySpec keySpec) |
static KeyFactory |
PKIs.getKeyFactory(String algorithm,
String provider) |
static KeyPairGenerator |
PKIs.getKeyPairGenerator(String algorithm,
String provider) |
static SecretKeyFactory |
PKIs.getSecretKeyFactory(String algorithm,
String provider) |
static KeyGenerator |
PKIs.getSecretKeyGenerator(String algorithm,
String provider) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
Preconditions.checkNotNullArgument(T obj,
String parameter) |
static String |
Dates.format(Date date,
String pattern) |
static SimpleDateFormat |
Dates.getSimpleDateFormat(String pattern) |
static SimpleDateFormat |
Dates.getSimpleDateFormat(String pattern,
Locale locale) |
static SimpleDateFormat |
Dates.getSimpleDateFormat(String pattern,
String timeZoneId) |
static SimpleDateFormat |
Dates.getSimpleDateFormat(String pattern,
String timeZoneId,
Locale locale) |
static SimpleDateFormat |
Dates.getSimpleDateFormat(String pattern,
TimeZone timeZone) |
static SimpleDateFormat |
Dates.getSimpleDateFormat(String pattern,
TimeZone timeZone,
Locale locale) |
static Date |
Dates.parse(String dateString,
String pattern) |
Copyright © 2021. All rights reserved.