public class PublicKeyUtils
extends java.lang.Object
| Constructor and Description |
|---|
PublicKeyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEncryptionAlgorithm(int publicKeyAlgorithm)
Return true, if the public key algorithm that corresponds to the given ID is capable of encryption.
|
static boolean |
isSigningAlgorithm(int publicKeyAlgorithm)
Return true, if the public key algorithm that corresponds to the given ID is capable of signing.
|
public static boolean isSigningAlgorithm(int publicKeyAlgorithm)
publicKeyAlgorithm - public key algorithm idpublic static boolean isEncryptionAlgorithm(int publicKeyAlgorithm)
publicKeyAlgorithm - public key algorithm id