public abstract class BaseKeyProvider extends Object implements KeyProvider
AES_ALGORITHMS, DSA_ALGORITHMS, RSA_ALGORITHMS, TRIPLEDES_ALGORITHMS| Modifier and Type | Method and Description |
|---|---|
byte[] |
getIdentifier() |
KeySelectorResult |
getKeyByIdentifier(byte[] keyIdentifier,
String alg,
KeySelector.Purpose purpose) |
KeySelectorResult |
getKeyByIssuerSerial(String issuerName,
BigInteger serial,
String alg,
KeySelector.Purpose purpose) |
KeySelectorResult |
getKeyByName(String keyName,
String alg,
KeySelector.Purpose purpose) |
KeySelectorResult |
getKeyBySTR(SecurityTokenReference str,
String alg,
KeySelector.Purpose purpose) |
KeySelectorResult |
getKeyBySubjectName(String subjectName,
String alg,
KeySelector.Purpose purpose) |
KeySelectorResult |
getKeyByURI(String uri,
String alg,
KeySelector.Purpose purpose) |
String |
getName() |
SecurityToken |
getSecurityToken() |
String |
getUri() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKeypublic KeySelectorResult getKeyByIdentifier(byte[] keyIdentifier, String alg, KeySelector.Purpose purpose)
getKeyByIdentifier in interface KeyProviderpublic KeySelectorResult getKeyByName(String keyName, String alg, KeySelector.Purpose purpose)
getKeyByName in interface KeyProviderpublic KeySelectorResult getKeyByURI(String uri, String alg, KeySelector.Purpose purpose)
getKeyByURI in interface KeyProviderpublic KeySelectorResult getKeyBySubjectName(String subjectName, String alg, KeySelector.Purpose purpose)
getKeyBySubjectName in interface KeyProviderpublic KeySelectorResult getKeyByIssuerSerial(String issuerName, BigInteger serial, String alg, KeySelector.Purpose purpose)
getKeyByIssuerSerial in interface KeyProviderpublic KeySelectorResult getKeyBySTR(SecurityTokenReference str, String alg, KeySelector.Purpose purpose)
getKeyBySTR in interface KeyProviderpublic byte[] getIdentifier()
public String getName()
public String getUri()
public SecurityToken getSecurityToken()