public class X509CredentialImpl extends Object implements org.opensaml.xml.security.x509.X509Credential
Constructor and Description |
---|
X509CredentialImpl(BigInteger modulus,
BigInteger publicExponent)
The key is constructed form modulus and exponent.
|
X509CredentialImpl(X509Certificate cert) |
Modifier and Type | Method and Description |
---|---|
org.opensaml.xml.security.credential.CredentialContextSet |
getCredentalContextSet() |
Class<? extends org.opensaml.xml.security.credential.Credential> |
getCredentialType() |
Collection<X509CRL> |
getCRLs() |
X509Certificate |
getEntityCertificate() |
Collection<X509Certificate> |
getEntityCertificateChain() |
String |
getEntityId() |
Collection<String> |
getKeyNames() |
PrivateKey |
getPrivateKey() |
PublicKey |
getPublicKey()
Retrieves the publicKey
|
SecretKey |
getSecretKey() |
X509Certificate |
getSigningCert() |
org.opensaml.xml.security.credential.UsageType |
getUsageType() |
public X509CredentialImpl(BigInteger modulus, BigInteger publicExponent) throws NoSuchAlgorithmException, InvalidKeySpecException
modulus
- publicExponent
- NoSuchAlgorithmException
InvalidKeySpecException
public X509CredentialImpl(X509Certificate cert)
public PublicKey getPublicKey()
getPublicKey
in interface org.opensaml.xml.security.credential.Credential
public X509Certificate getSigningCert()
public X509Certificate getEntityCertificate()
getEntityCertificate
in interface org.opensaml.xml.security.x509.X509Credential
public Collection<X509CRL> getCRLs()
getCRLs
in interface org.opensaml.xml.security.x509.X509Credential
public Collection<X509Certificate> getEntityCertificateChain()
getEntityCertificateChain
in interface org.opensaml.xml.security.x509.X509Credential
public org.opensaml.xml.security.credential.CredentialContextSet getCredentalContextSet()
getCredentalContextSet
in interface org.opensaml.xml.security.credential.Credential
public Class<? extends org.opensaml.xml.security.credential.Credential> getCredentialType()
getCredentialType
in interface org.opensaml.xml.security.credential.Credential
public String getEntityId()
getEntityId
in interface org.opensaml.xml.security.credential.Credential
public Collection<String> getKeyNames()
getKeyNames
in interface org.opensaml.xml.security.credential.Credential
public PrivateKey getPrivateKey()
getPrivateKey
in interface org.opensaml.xml.security.credential.Credential
public SecretKey getSecretKey()
getSecretKey
in interface org.opensaml.xml.security.credential.Credential
public org.opensaml.xml.security.credential.UsageType getUsageType()
getUsageType
in interface org.opensaml.xml.security.credential.Credential
Copyright © 2018 WSO2. All rights reserved.