public class EncryptionAlgorithms extends Object
Constructor and Description |
---|
EncryptionAlgorithms() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addAlgorithm(String oid, String name)
Allows new oid to be added.
|
static String |
getAlgorithm(String oid)
Gets the algorithm name for a certain id.
|
public static String getAlgorithm(String oid)
oid
- an id (for instance "1.2.840.113549.1.1.1")
public static boolean addAlgorithm(String oid, String name) throws GeneralSecurityException
oid
-
name
-
GeneralSecurityException
Copyright © 1998–2022. All rights reserved.