public class OpenIdConnectTokenPKIProviderImpl extends STSCryptoProviderBase implements OpenIdConnectTokenPKIProvider
OpenIdConnectTokenPKIProvider
JKS_KEYSTORE
Constructor and Description |
---|
OpenIdConnectTokenPKIProviderImpl(OpenIdConnectTokenConfig tokenConfiguration) |
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
getProviderCertificateChain(String keyAlias)
Get the OpenIdConnect Provider's X509Certificate[] corresponding to their PrivateKeyEntry.
|
PrivateKey |
getProviderPrivateKey(String keyAlias,
String keyPassword)
Get the OpenIdConnect Provider's PrivateKey.
|
getPrivateKey, getX509Certificate, getX509CertificateChain
public OpenIdConnectTokenPKIProviderImpl(OpenIdConnectTokenConfig tokenConfiguration) throws TokenCreationException
TokenCreationException
public PrivateKey getProviderPrivateKey(String keyAlias, String keyPassword) throws TokenCreationException
OpenIdConnectTokenPKIProvider
getProviderPrivateKey
in interface OpenIdConnectTokenPKIProvider
keyAlias
- alias identifying the KeyStore PrivateKeyEntrykeyPassword
- password for the PrivateKeyEntryTokenCreationException
- if a PrivateKey entry could not be foundpublic X509Certificate[] getProviderCertificateChain(String keyAlias) throws TokenCreationException
OpenIdConnectTokenPKIProvider
getProviderCertificateChain
in interface OpenIdConnectTokenPKIProvider
keyAlias
- alias identifying the PrivateKeyEntryTokenCreationException
- if an entry could not be foundCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.