public interface KeyProvider
Modifier and Type | Field and Description |
---|---|
static String[] |
AES_ALGORITHMS |
static String[] |
DSA_ALGORITHMS |
static String[] |
RSA_ALGORITHMS |
static String[] |
TRIPLEDES_ALGORITHMS |
Modifier and Type | Method and Description |
---|---|
KeyResult |
getKey(String alg,
KeyPurpose purpose) |
KeyResult |
getKeyByIdentifier(byte[] identifier,
String alg,
KeyPurpose purpose) |
KeyResult |
getKeyByIssuerSerial(String issuerName,
BigInteger serial,
String alg,
KeyPurpose purpose) |
KeyResult |
getKeyByName(String keyName,
String alg,
KeyPurpose purpose) |
KeyResult |
getKeyBySubjectName(String subjectDN,
String alg,
KeyPurpose purpose) |
KeyResult |
getKeyByURI(String uri,
String alg,
KeyPurpose purpose) |
static final String[] RSA_ALGORITHMS
static final String[] DSA_ALGORITHMS
static final String[] AES_ALGORITHMS
static final String[] TRIPLEDES_ALGORITHMS
KeyResult getKey(String alg, KeyPurpose purpose)
KeyResult getKeyByName(String keyName, String alg, KeyPurpose purpose)
KeyResult getKeyByIdentifier(byte[] identifier, String alg, KeyPurpose purpose)
KeyResult getKeyByURI(String uri, String alg, KeyPurpose purpose)
KeyResult getKeyBySubjectName(String subjectDN, String alg, KeyPurpose purpose)
KeyResult getKeyByIssuerSerial(String issuerName, BigInteger serial, String alg, KeyPurpose purpose)