Modifier and Type | Class and Description |
---|---|
public static enum |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public static AlgorithmParameterSpec | |
public static AlgorithmId | |
public static byte[] | encodeSignature(ObjectIdentifier oid, byte[] digest)
Encode the digest, return the to-be-signed data. |
pack-priv static byte[] | encodeSignatureWithoutNULL(ObjectIdentifier oid, byte[] digest)
Encode the digest without the NULL params, return the to-be-signed data. |
public static AlgorithmParameters | |
public static AlgorithmParameterSpec | |
public static Object[] | |
private static void |
RSAUtil | back to summary |
---|---|
public RSAUtil() |
checkParamsAgainstType | back to summary |
---|---|
public static AlgorithmParameterSpec checkParamsAgainstType(RSAUtil. |
createAlgorithmId | back to summary |
---|---|
public static AlgorithmId createAlgorithmId(RSAUtil. |
encodeSignature | back to summary |
---|---|
public static byte[] encodeSignature(ObjectIdentifier oid, byte[] digest) Encode the digest, return the to-be-signed data. Also used by the PKCS#11 provider. |
encodeSignatureWithoutNULL | back to summary |
---|---|
pack-priv static byte[] encodeSignatureWithoutNULL(ObjectIdentifier oid, byte[] digest) Encode the digest without the NULL params, return the to-be-signed data. This is only used by SunRsaSign. |
getParams | back to summary |
---|---|
public static AlgorithmParameters getParams(RSAUtil. |
getParamSpec | back to summary |
---|---|
public static AlgorithmParameterSpec getParamSpec(AlgorithmParameters params) throws ProviderException |
getTypeAndParamSpec | back to summary |
---|---|
public static Object[] getTypeAndParamSpec(AlgorithmId algid) throws ProviderException |
requireNonNull | back to summary |
---|---|
private static void requireNonNull(Object obj, String msg) |
Modifier and Type | Field and Description |
---|---|
pack-priv final String | |
pack-priv final ObjectIdentifier | |
pack-priv final Class | |
public static final RSAUtil. | |
public static final RSAUtil. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static RSAUtil. | |
public static RSAUtil. | |
public static RSAUtil. |
keyAlgo | back to summary |
---|---|
pack-priv final String keyAlgo |
oid | back to summary |
---|---|
pack-priv final ObjectIdentifier oid |
paramSpecCls | back to summary |
---|---|
pack-priv final Class<? extends AlgorithmParameterSpec> paramSpecCls |
PSS | back to summary |
---|---|
public static final RSAUtil. |
RSA | back to summary |
---|---|
public static final RSAUtil. |
KeyType | back to summary |
---|---|
private KeyType(String keyAlgo, ObjectIdentifier oid, Class<? extends AlgorithmParameterSpec> paramSpecCls) |
lookup | back to summary |
---|---|
public static RSAUtil. |
valueOf | back to summary |
---|---|
public static RSAUtil. |
values | back to summary |
---|---|
public static RSAUtil. |