public class PKIs extends KeyStores
KEYSTORE_TYPE_BKS, KEYSTORE_TYPE_JCEKS, KEYSTORE_TYPE_JKS, KEYSTORE_TYPE_PKCS12, KEYSTORE_TYPE_UBER| 构造器和说明 |
|---|
PKIs() |
| 限定符和类型 | 方法和说明 |
|---|---|
static KeyPair |
createKeyPair(String algorithm,
String provider,
AlgorithmParameterSpec parameterSpec,
SecureRandom secureRandom) |
static KeyPair |
createKeyPair(String algorithm,
String provider,
byte[] base64PrivateKey,
byte[] base64PublicKey) |
static KeyPair |
createKeyPair(String algorithm,
String provider,
int keySize,
SecureRandom secureRandom) |
static KeyPair |
createKeyPair(String algorithm,
String provider,
KeySpec privateKeySpec,
KeySpec publicKeySpec) |
static KeyPair |
createKeyPair(String algorithm,
String provider,
String base64PrivateKey,
String base64PublicKey) |
static PrivateKey |
createPrivateKey(String algorithm,
String provider,
byte[] base64Pkcs8PrivateKey) |
static PrivateKey |
createPrivateKey(String algorithm,
String provider,
byte[] pkcs8PrivateKey,
boolean base64ed) |
static PrivateKey |
createPrivateKey(String algorithm,
String provider,
KeySpec keySpec) |
static PrivateKey |
createPrivateKey(String algorithm,
String provider,
String base64Pkcs8PrivateKey) |
static PublicKey |
createPublicKey(String algorithm,
String provider,
byte[] base64PublicKey) |
static PublicKey |
createPublicKey(String algorithm,
String provider,
KeySpec keySpec) |
static PublicKey |
createPublicKey(String algorithm,
String provider,
String base64PublicKey) |
static SecretKey |
createSecretKey(String algorithm) |
static SecretKey |
createSecretKey(String algorithm,
byte[] bytes) |
static SecretKey |
createSecretKey(String algorithm,
String provider,
AlgorithmParameterSpec parameterSpec,
SecureRandom secureRandom) |
static SecretKey |
createSecretKey(String algorithm,
String provider,
Integer keySize,
SecureRandom secureRandom) |
static SecretKey |
createSecretKey(String algorithm,
String provider,
KeySpec keySpec) |
static KeyFactory |
getKeyFactory(String algorithm,
String provider) |
static KeyGenerator |
getKeyGenerator(String algorithm,
String provider) |
static KeyPairGenerator |
getKeyPairGenerator(String algorithm,
String provider) |
static SecretKeyFactory |
getSecretKeyFactory(String algorithm,
String provider) |
static KeyGenerator |
getSecretKeyGenerator(String algorithm,
String provider) |
findCertificate, findCertificateChain, findKeyPair, findKeyPair, findPublicKey, findSecretKey, findSecretKey, getAllKeyStoreTypes, getEmptyKeyStore, getKeyStore, getKeyStore, getTrustedCerts, inferKeyStoreType, persist, persist, persist, setCertificate, setPrivateKey, setSecretKeyaddProvider, getLangxSecurityProvider, getProvider, getSecureRandom, insertProvider, insertProviderAt, langxProviderInstalled, loadLangxProvider, setuppublic static PublicKey createPublicKey(@NotEmpty String algorithm, @Nullable String provider, @NotEmpty String base64PublicKey)
public static PublicKey createPublicKey(@NotEmpty String algorithm, @Nullable String provider, @NotEmpty byte[] base64PublicKey)
public static PublicKey createPublicKey(@NotEmpty String algorithm, @Nullable String provider, @NonNull KeySpec keySpec)
public static PrivateKey createPrivateKey(@NotEmpty String algorithm, @Nullable String provider, @NotEmpty String base64Pkcs8PrivateKey)
public static PrivateKey createPrivateKey(@NotEmpty String algorithm, @Nullable String provider, @NotEmpty byte[] base64Pkcs8PrivateKey)
public static PrivateKey createPrivateKey(@NotEmpty String algorithm, @Nullable String provider, @NotEmpty byte[] pkcs8PrivateKey, boolean base64ed)
public static PrivateKey createPrivateKey(@NotEmpty String algorithm, @Nullable String provider, @NonNull KeySpec keySpec)
public static KeyFactory getKeyFactory(@NotEmpty String algorithm, @Nullable String provider)
public static KeyPair createKeyPair(@NotEmpty String algorithm, @Nullable String provider, @NonNull String base64PrivateKey, @NonNull String base64PublicKey)
public static KeyPair createKeyPair(@NotEmpty String algorithm, @Nullable String provider, @NonNull byte[] base64PrivateKey, @NonNull byte[] base64PublicKey)
public static KeyPair createKeyPair(@NotEmpty String algorithm, @Nullable String provider, @NonNull KeySpec privateKeySpec, @NonNull KeySpec publicKeySpec)
public static KeyPairGenerator getKeyPairGenerator(@NotEmpty String algorithm, @Nullable String provider)
public static KeyPair createKeyPair(@NotEmpty String algorithm, @Nullable String provider, @NonNull int keySize, @Nullable SecureRandom secureRandom)
public static KeyPair createKeyPair(@NotEmpty String algorithm, @Nullable String provider, @NonNull AlgorithmParameterSpec parameterSpec, @Nullable SecureRandom secureRandom)
public static KeyGenerator getKeyGenerator(@NonNull String algorithm, @Nullable String provider)
public static SecretKey createSecretKey(@NotEmpty String algorithm, @Nullable String provider, @NonNull KeySpec keySpec)
public static SecretKeyFactory getSecretKeyFactory(@NotEmpty String algorithm, @Nullable String provider)
public static KeyGenerator getSecretKeyGenerator(@NotEmpty String algorithm, @Nullable String provider)
public static SecretKey createSecretKey(@NotEmpty String algorithm, @Nullable String provider, @Nullable Integer keySize, @Nullable SecureRandom secureRandom)
public static SecretKey createSecretKey(@NotEmpty String algorithm, @Nullable String provider, @Nullable AlgorithmParameterSpec parameterSpec, @Nullable SecureRandom secureRandom)
Copyright © 2022. All rights reserved.