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 StsTrustChain
public 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
- cannot be nullCopyright © 2015. All Rights Reserved.