public class SAMLMDCredentialContext extends Object implements org.opensaml.security.credential.CredentialContext
KeyInfo
that was found in
SAML 2 metadata.Modifier and Type | Field and Description |
---|---|
private List<EncryptionMethod> |
encMethods
Encryption methods associated with the credential.
|
private KeyDescriptor |
keyDescriptor
Key descriptor which contained the KeyInfo used.
|
private RoleDescriptor |
role
Role in which credential was resolved.
|
Constructor and Description |
---|
SAMLMDCredentialContext(KeyDescriptor descriptor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<EncryptionMethod> |
getEncryptionMethods()
Return the list of
EncryptionMethod 's associated with credential context. |
KeyDescriptor |
getKeyDescriptor()
Get the key descriptor context.
|
RoleDescriptor |
getRoleDescriptor()
Get the role descriptor context.
|
private KeyDescriptor keyDescriptor
private RoleDescriptor role
private List<EncryptionMethod> encMethods
public SAMLMDCredentialContext(KeyDescriptor descriptor)
descriptor
- the KeyDescriptor context from which a credential was resolvedpublic KeyDescriptor getKeyDescriptor()
public List<EncryptionMethod> getEncryptionMethods()
EncryptionMethod
's associated with credential context.public RoleDescriptor getRoleDescriptor()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.