Class X509CredentialImpl
java.lang.Object
org.wso2.carbon.hostobjects.sso.internal.util.X509CredentialImpl
- All Implemented Interfaces:
org.opensaml.xml.security.credential.Credential,org.opensaml.xml.security.x509.X509Credential
public class X509CredentialImpl
extends Object
implements org.opensaml.xml.security.x509.X509Credential
X509Credential implementation for signature verification of self issued tokens. The key is
constructed from modulus and exponent
-
Constructor Summary
ConstructorsConstructorDescriptionX509CredentialImpl(BigInteger modulus, BigInteger publicExponent) The key is constructed form modulus and exponent. -
Method Summary
-
Constructor Details
-
X509CredentialImpl
public X509CredentialImpl(BigInteger modulus, BigInteger publicExponent) throws NoSuchAlgorithmException, InvalidKeySpecException The key is constructed form modulus and exponent.- Parameters:
modulus-publicExponent-- Throws:
NoSuchAlgorithmExceptionInvalidKeySpecException
-
X509CredentialImpl
-
-
Method Details
-
getPublicKey
Retrieves the publicKey- Specified by:
getPublicKeyin interfaceorg.opensaml.xml.security.credential.Credential
-
getSigningCert
-
getEntityCertificate
- Specified by:
getEntityCertificatein interfaceorg.opensaml.xml.security.x509.X509Credential
-
getCRLs
- Specified by:
getCRLsin interfaceorg.opensaml.xml.security.x509.X509Credential
-
getEntityCertificateChain
- Specified by:
getEntityCertificateChainin interfaceorg.opensaml.xml.security.x509.X509Credential
-
getCredentalContextSet
public org.opensaml.xml.security.credential.CredentialContextSet getCredentalContextSet()- Specified by:
getCredentalContextSetin interfaceorg.opensaml.xml.security.credential.Credential
-
getCredentialType
- Specified by:
getCredentialTypein interfaceorg.opensaml.xml.security.credential.Credential
-
getEntityId
- Specified by:
getEntityIdin interfaceorg.opensaml.xml.security.credential.Credential
-
getKeyNames
- Specified by:
getKeyNamesin interfaceorg.opensaml.xml.security.credential.Credential
-
getPrivateKey
- Specified by:
getPrivateKeyin interfaceorg.opensaml.xml.security.credential.Credential
-
getSecretKey
- Specified by:
getSecretKeyin interfaceorg.opensaml.xml.security.credential.Credential
-
getUsageType
public org.opensaml.xml.security.credential.UsageType getUsageType()- Specified by:
getUsageTypein interfaceorg.opensaml.xml.security.credential.Credential
-