abstract class PBES2Parameters extends AlgorithmParametersSpi
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PBES2Parameters.General |
static class |
PBES2Parameters.HmacSM3AndSM4_128_CBC_PKCS5Padding |
static class |
PBES2Parameters.HmacSM3AndSM4_128_ECB_PKCS5Padding |
| 限定符和类型 | 字段和说明 |
|---|---|
private sun.security.util.ObjectIdentifier |
cipherAlgo_OID |
private AlgorithmParameterSpec |
cipherParam |
private static int[] |
GMT_0091_2020_HMAC_WITH_SM3 |
private static sun.security.util.ObjectIdentifier |
GMT_0091_2020_HMAC_WITH_SM3_OID |
private static int[] |
GMT_0091_2020_PBKDF2 |
private static sun.security.util.ObjectIdentifier |
GMT_0091_2020_PBKDF2_OID |
private static int[] |
GMT_0091_2020_SM4_128_CBC |
private static sun.security.util.ObjectIdentifier |
GMT_0091_2020_SM4_128_CBC_OID |
private static int[] |
HMAC_WITH_SM3 |
private static sun.security.util.ObjectIdentifier |
HMAC_WITH_SM3_OID |
private static Set<sun.security.util.ObjectIdentifier> |
HMAC_WITH_SM3_OID_SET |
private int |
iCount |
private sun.security.util.ObjectIdentifier |
kdfAlgo_OID |
private int |
keysize |
private String |
mode |
private String |
padding |
private String |
pbes2AlgorithmName |
private byte[] |
salt |
private static int[] |
SM4_128_CBC |
private static sun.security.util.ObjectIdentifier |
SM4_128_CBC_OID |
private static int[] |
SM4_128_ECB |
private static sun.security.util.ObjectIdentifier |
SM4_128_ECB_OID |
private static Set<sun.security.util.ObjectIdentifier> |
SM4_CBC_OID_SET |
| 构造器和说明 |
|---|
PBES2Parameters() |
PBES2Parameters(String pbes2AlgorithmName) |
PBES2Parameters(String pbes2AlgorithmName,
String mode,
String padding) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
engineGetEncoded() |
protected byte[] |
engineGetEncoded(String encodingMethod) |
protected <T extends AlgorithmParameterSpec> |
engineGetParameterSpec(Class<T> paramSpec) |
protected void |
engineInit(AlgorithmParameterSpec paramSpec) |
protected void |
engineInit(byte[] encoded) |
protected void |
engineInit(byte[] encoded,
String decodingMethod) |
protected String |
engineToString() |
private String |
parseES(sun.security.util.DerValue encryptionScheme) |
private String |
parseKDF(sun.security.util.DerValue keyDerivationFunc) |
private static final int[] HMAC_WITH_SM3
private static final int[] SM4_128_ECB
private static final int[] SM4_128_CBC
private static final int[] GMT_0091_2020_PBKDF2
private static final int[] GMT_0091_2020_HMAC_WITH_SM3
private static final int[] GMT_0091_2020_SM4_128_CBC
private static sun.security.util.ObjectIdentifier HMAC_WITH_SM3_OID
private static sun.security.util.ObjectIdentifier SM4_128_ECB_OID
private static sun.security.util.ObjectIdentifier SM4_128_CBC_OID
private static sun.security.util.ObjectIdentifier GMT_0091_2020_PBKDF2_OID
private static sun.security.util.ObjectIdentifier GMT_0091_2020_HMAC_WITH_SM3_OID
private static sun.security.util.ObjectIdentifier GMT_0091_2020_SM4_128_CBC_OID
private static Set<sun.security.util.ObjectIdentifier> SM4_CBC_OID_SET
private static Set<sun.security.util.ObjectIdentifier> HMAC_WITH_SM3_OID_SET
private String pbes2AlgorithmName
private byte[] salt
private int iCount
private AlgorithmParameterSpec cipherParam
private sun.security.util.ObjectIdentifier kdfAlgo_OID
private sun.security.util.ObjectIdentifier cipherAlgo_OID
private int keysize
private String mode
private String padding
PBES2Parameters()
PBES2Parameters(String pbes2AlgorithmName) throws NoSuchAlgorithmException
PBES2Parameters(String pbes2AlgorithmName, String mode, String padding) throws NoSuchAlgorithmException
protected void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException
protected void engineInit(byte[] encoded)
throws IOException
engineInit 在类中 AlgorithmParametersSpiIOExceptionprivate String parseKDF(sun.security.util.DerValue keyDerivationFunc) throws IOException
IOExceptionprivate String parseES(sun.security.util.DerValue encryptionScheme) throws IOException
IOExceptionprotected void engineInit(byte[] encoded,
String decodingMethod)
throws IOException
engineInit 在类中 AlgorithmParametersSpiIOExceptionprotected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> paramSpec) throws InvalidParameterSpecException
protected byte[] engineGetEncoded()
throws IOException
engineGetEncoded 在类中 AlgorithmParametersSpiIOExceptionprotected byte[] engineGetEncoded(String encodingMethod) throws IOException
engineGetEncoded 在类中 AlgorithmParametersSpiIOExceptionprotected String engineToString()
engineToString 在类中 AlgorithmParametersSpiCopyright © 2022. All rights reserved.