final class JsseJce extends Object
| 限定符和类型 | 类和说明 |
|---|---|
private static class |
JsseJce.EcAvailability |
private static class |
JsseJce.SunCertificates |
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) static boolean |
ALLOW_ECC |
(专用程序包) static String |
CIPHER_3DES
JCE transformation string for (3-key) Triple DES in CBC mode
without padding.
|
(专用程序包) static String |
CIPHER_AES
JCE transformation string for AES in CBC mode
without padding.
|
(专用程序包) static String |
CIPHER_AES_GCM
JCE transformation string for AES in GCM mode
without padding.
|
(专用程序包) static String |
CIPHER_DES
JCE transformation string for DES in CBC mode without padding.
|
(专用程序包) static String |
CIPHER_RC4
JCE transformation string for the stream cipher RC4.
|
(专用程序包) static String |
CIPHER_RSA_PKCS1
JCE transformation string for RSA with PKCS#1 v1.5 padding.
|
(专用程序包) static String |
CIPHER_SM2
JCE transformation string for SM2.
|
(专用程序包) static String |
CIPHER_SM4
JCE transformation string for SM4 in CBC mode
without padding.
|
(专用程序包) static String |
CIPHER_SM4_GCM
JCE transformation string for SM4 in GCM mode
without padding.
|
private static sun.security.jca.ProviderList |
fipsProviderList |
private static boolean |
kerberosAvailable |
private static Double |
PROVIDER_VER |
(专用程序包) static String |
SIGNATURE_DSA
JCA identifier string for DSA, i.e. a DSA with SHA-1.
|
(专用程序包) static String |
SIGNATURE_ECDSA
JCA identifier string for ECDSA, i.e. a ECDSA with SHA-1.
|
(专用程序包) static String |
SIGNATURE_RAWDSA
JCA identifier string for Raw DSA, i.e. a DSA signature without
hashing where the application provides the SHA-1 hash of the data.
|
(专用程序包) static String |
SIGNATURE_RAWECDSA
JCA identifier string for Raw ECDSA, i.e. a DSA signature without
hashing where the application provides the SHA-1 hash of the data.
|
(专用程序包) static String |
SIGNATURE_RAWRSA
JCA identifier string for Raw RSA, i.e. a RSA PKCS#1 v1.5 signature
without hashing where the application provides the hash of the data.
|
(专用程序包) static String |
SIGNATURE_SM2
JCA identifier string for SM2, i.e. a SM2 with SM3.
|
(专用程序包) static String |
SIGNATURE_SSLRSA
JCA identifier string for the SSL/TLS style RSA Signature.
|
| 限定符 | 构造器和说明 |
|---|---|
private |
JsseJce() |
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) static Object |
beginFipsProvider() |
(专用程序包) static ECPoint |
decodePoint(byte[] encoded,
EllipticCurve curve) |
(专用程序包) static byte[] |
encodePoint(ECPoint point,
EllipticCurve curve) |
(专用程序包) static void |
endFipsProvider(Object o) |
(专用程序包) static AlgorithmParameters |
getAlgorithmParameters(String algorithm) |
(专用程序包) static Cipher |
getCipher(String transformation)
Return an JCE cipher implementation for the specified algorithm.
|
(专用程序包) static ECParameterSpec |
getECParameterSpec(String namedCurveOid) |
(专用程序包) static KeyAgreement |
getKeyAgreement(String algorithm) |
(专用程序包) static KeyFactory |
getKeyFactory(String algorithm) |
(专用程序包) static KeyGenerator |
getKeyGenerator(String algorithm) |
(专用程序包) static KeyPairGenerator |
getKeyPairGenerator(String algorithm) |
(专用程序包) static Mac |
getMac(String algorithm) |
(专用程序包) static MessageDigest |
getMD5() |
(专用程序包) static MessageDigest |
getMessageDigest(String algorithm) |
(专用程序包) static String |
getNamedCurveOid(ECParameterSpec params) |
(专用程序包) static int |
getRSAKeyLength(PublicKey key) |
(专用程序包) static RSAPublicKeySpec |
getRSAPublicKeySpec(PublicKey key) |
(专用程序包) static SecureRandom |
getSecureRandom() |
(专用程序包) static MessageDigest |
getSHA() |
(专用程序包) static Signature |
getSignature(String algorithm)
Return an JCA signature implementation for the specified algorithm.
|
(专用程序包) static boolean |
isEcAvailable() |
(专用程序包) static boolean |
isKerberosAvailable() |
static final boolean ALLOW_ECC
private static final Double PROVIDER_VER
private static final sun.security.jca.ProviderList fipsProviderList
private static final boolean kerberosAvailable
static final String CIPHER_RSA_PKCS1
static final String CIPHER_RC4
static final String CIPHER_DES
static final String CIPHER_3DES
static final String CIPHER_AES
static final String CIPHER_SM4
static final String CIPHER_AES_GCM
static final String CIPHER_SM4_GCM
static final String SIGNATURE_DSA
static final String SIGNATURE_ECDSA
static final String SIGNATURE_SM2
static final String SIGNATURE_RAWDSA
static final String SIGNATURE_RAWECDSA
static final String SIGNATURE_RAWRSA
static boolean isEcAvailable()
static boolean isKerberosAvailable()
static Cipher getCipher(String transformation) throws NoSuchAlgorithmException
static Signature getSignature(String algorithm) throws NoSuchAlgorithmException
static KeyGenerator getKeyGenerator(String algorithm) throws NoSuchAlgorithmException
static KeyPairGenerator getKeyPairGenerator(String algorithm) throws NoSuchAlgorithmException
static KeyAgreement getKeyAgreement(String algorithm) throws NoSuchAlgorithmException
static Mac getMac(String algorithm) throws NoSuchAlgorithmException
static KeyFactory getKeyFactory(String algorithm) throws NoSuchAlgorithmException
static AlgorithmParameters getAlgorithmParameters(String algorithm) throws NoSuchAlgorithmException
static SecureRandom getSecureRandom() throws KeyManagementException
static MessageDigest getMD5()
static MessageDigest getSHA()
static MessageDigest getMessageDigest(String algorithm)
static int getRSAKeyLength(PublicKey key)
static RSAPublicKeySpec getRSAPublicKeySpec(PublicKey key)
static ECParameterSpec getECParameterSpec(String namedCurveOid)
static String getNamedCurveOid(ECParameterSpec params)
static ECPoint decodePoint(byte[] encoded, EllipticCurve curve) throws IOException
IOExceptionstatic byte[] encodePoint(ECPoint point, EllipticCurve curve)
static Object beginFipsProvider()
static void endFipsProvider(Object o)
Copyright © 2023. All rights reserved.