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, wait
getKey
public KeySelectorResult getKeyByIdentifier(byte[] keyIdentifier, String alg, KeySelector.Purpose purpose)
getKeyByIdentifier
in interface KeyProvider
public KeySelectorResult getKeyByName(String keyName, String alg, KeySelector.Purpose purpose)
getKeyByName
in interface KeyProvider
public KeySelectorResult getKeyByURI(String uri, String alg, KeySelector.Purpose purpose)
getKeyByURI
in interface KeyProvider
public KeySelectorResult getKeyBySubjectName(String subjectName, String alg, KeySelector.Purpose purpose)
getKeyBySubjectName
in interface KeyProvider
public KeySelectorResult getKeyByIssuerSerial(String issuerName, BigInteger serial, String alg, KeySelector.Purpose purpose)
getKeyByIssuerSerial
in interface KeyProvider
public KeySelectorResult getKeyBySTR(SecurityTokenReference str, String alg, KeySelector.Purpose purpose)
getKeyBySTR
in interface KeyProvider
public byte[] getIdentifier()
public String getName()
public String getUri()
public SecurityToken getSecurityToken()