org.opensaml.xml.security.credential.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmltooling Show documentation
Show all versions of xmltooling Show documentation
XMLTooling-J is a low-level library that may be used to construct libraries that allow developers to work with
XML in a Java beans manner.
Interfaces and classes related to credentials and ways to represent
them.
Developers will generally create and populate CredentialResolvers
during application initialization time. CredentialCriteria can then be
constructured to model the information the application has about a
particular credential and then provided to the CredentialResolver in
order retrieve the previously loaded credential information. Here are a
couple of use cases where this approach might be used:
- An application wishes to decrypt a message from one of many
peers. The encrypted message contains a KeyInfo which itself contains
the public key used to encrypt the data. The application can then use
the public key to lookup its appropriate private key and decrypt the
message.
- An application uses client-cert authentication via TLS when
communicating with a peer. Upon receipt of the peers certificate the
application uses the provide entity certificate to lookup additional
information associated with this credential, including CRLs, to
determine if the credential should be trusted. It then looks up it's
credential for the given peer and uses it to authenticate. Once
completed the application stores the TLS session key in a
CredentialResolver so that it may be used during encryption processes.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy