public interface SAML2CryptoProvider
Modifier and Type | Method and Description |
---|---|
PrivateKey |
getIDPPrivateKey(String keyAlias,
String keyPassword)
Returns the PrivateKey corresponding to the PrivateKeyEntry containing the SAML2 Identity Provider's private key.
|
X509Certificate |
getIDPX509Certificate(String certAlias)
Returns the IDP's X509Certificate.
|
X509Certificate |
getSPX509Certificate(String certAlias)
Returns the SP's X509Certificate.
|
X509Certificate getIDPX509Certificate(String certAlias) throws TokenCreationException
certAlias
- the alias corresponding to the SAML2 IdentityProvider's PrivateKeyEntryTokenCreationException
- if no entry corresponds to the specified aliasX509Certificate getSPX509Certificate(String certAlias) throws TokenCreationException
certAlias
- the alias corresponding to the SAML2 ServiceProviders TrustedCertificateEntryTokenCreationException
- if no entry corresponds to the specified aliasPrivateKey getIDPPrivateKey(String keyAlias, String keyPassword) throws TokenCreationException
keyAlias
- the alias referencing the PrivateKeyEntrykeyPassword
- the password for the PrivateKeyEntryTokenCreationException
- if no entry could be returned corresponding to the alias-password combinationCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.