public class SAMLKeyProvider extends BaseKeyProvider
AES_ALGORITHMS, DSA_ALGORITHMS, RSA_ALGORITHMS, TRIPLEDES_ALGORITHMS
Constructor and Description |
---|
SAMLKeyProvider(PublicKey key,
PrivateKey privateKey,
String assertionID,
SecurityToken token)
Deprecated.
Create a new SAMLProvider
|
Modifier and Type | Method and Description |
---|---|
KeySelectorResult |
getKey(String desiredAlg,
KeySelector.Purpose purpose)
Deprecated.
create KeySelectorResult
|
protected KeySelectorResult |
getResult(Key key)
Deprecated.
Create KeySelectorResult based on the key
|
getIdentifier, getKeyByIdentifier, getKeyByIssuerSerial, getKeyByName, getKeyBySTR, getKeyBySubjectName, getKeyByURI, getName, getSecurityToken, getUri, toString
public SAMLKeyProvider(PublicKey key, PrivateKey privateKey, String assertionID, SecurityToken token)
key
- pulicKey to include in saml tokenprivateKey
- private key to verify signature signed by the saml tokenassertionID
- assertion id of the saml assertiontoken
- saml token contains the saml assertionpublic KeySelectorResult getKey(String desiredAlg, KeySelector.Purpose purpose)
desiredAlg
- algorithmpurpose
- purpose of the keyprotected KeySelectorResult getResult(Key key)
key
- Key