org.wso2.solutions.identity.relyingparty.saml
Class X509CredentialUtil
java.lang.Object
org.wso2.solutions.identity.relyingparty.saml.X509CredentialUtil
public class X509CredentialUtil
- extends java.lang.Object
This class creates the X509CredentialImpl that is needed to verify the
signature.
Method Summary |
static org.opensaml.xml.security.x509.X509Credential |
loadCredentialFromSignature(org.opensaml.xml.signature.Signature signature)
Creates the certificate from the KeyInfo element. |
static org.opensaml.xml.security.x509.X509Credential |
loadCredentialFromTrustStore(java.lang.String alias,
java.security.KeyStore trustStore)
Creates the X509Credential from the TrustStore certificate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
systemKeyStore
public static java.security.KeyStore systemKeyStore
DEFAULT_EXPONENET
public static java.math.BigInteger DEFAULT_EXPONENET
X509CredentialUtil
public X509CredentialUtil()
loadCredentialFromTrustStore
public static org.opensaml.xml.security.x509.X509Credential loadCredentialFromTrustStore(java.lang.String alias,
java.security.KeyStore trustStore)
throws RelyingPartyException
- Creates the X509Credential from the TrustStore certificate.
- Throws:
RelyingPartyException
loadCredentialFromSignature
public static org.opensaml.xml.security.x509.X509Credential loadCredentialFromSignature(org.opensaml.xml.signature.Signature signature)
throws RelyingPartyException
- Creates the certificate from the KeyInfo element.
- Throws:
RelyingPartyException