public final class DefaultStsTrustChain extends Object implements StsTrustChain
| Constructor and Description |
|---|
DefaultStsTrustChain() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultStsTrustChain |
createInstance(X509Certificate[] trustedChain)
Creates a
DefaultStsTrustChain instance with predefined trusted
certificate chain. |
X509Certificate[] |
getStsTrustChain() |
static DefaultStsTrustChain |
loadFromKeystore(String fileName,
String password,
String certAlias)
Loads the STS trust chain from keystore
|
public X509Certificate[] getStsTrustChain()
getStsTrustChain in interface StsTrustChainpublic static DefaultStsTrustChain loadFromKeystore(String fileName, String password, String certAlias)
fileName - cannot be null.password - can be null.certAlias - cannot be null.public static DefaultStsTrustChain createInstance(X509Certificate[] trustedChain)
DefaultStsTrustChain instance with predefined trusted
certificate chain.trustedChain - must not be null, empty or have null elementsCopyright © 2022. All rights reserved.