|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.security.credential.AbstractCredential
org.opensaml.xml.security.credential.BasicCredential
org.opensaml.xml.security.x509.BasicX509Credential
public class BasicX509Credential
A basic implementation of X509Credential.
| Field Summary |
|---|
| Fields inherited from class org.opensaml.xml.security.credential.AbstractCredential |
|---|
credentialContextSet, entityID, keyNames, privateKey, publicKey, secretKey, usageType |
| Constructor Summary | |
|---|---|
BasicX509Credential()
|
|
| Method Summary | |
|---|---|
java.lang.Class<? extends Credential> |
getCredentialType()
Get the primary type of the credential instance. |
java.util.Collection<java.security.cert.X509CRL> |
getCRLs()
Gets a collection of CRLs associated with the credential. |
java.security.cert.X509Certificate |
getEntityCertificate()
Gets the public certificate for the entity. |
java.util.Collection<java.security.cert.X509Certificate> |
getEntityCertificateChain()
Gets an immutable collection of certificates in the entity's trust chain. |
javax.crypto.SecretKey |
getSecretKey()
Gets the secret key for this entity. |
void |
setCRLs(java.util.Collection<java.security.cert.X509CRL> newCRLs)
Sets the CRLs for this credential. |
void |
setEntityCertificate(java.security.cert.X509Certificate cert)
Sets the entity certificate for this credential. |
void |
setEntityCertificateChain(java.util.Collection<java.security.cert.X509Certificate> certs)
Sets the entity certificate chain for this credential. |
void |
setPublicKey(java.security.PublicKey key)
Sets the public key for this credential. |
void |
setSecretKey(javax.crypto.SecretKey key)
Sets the secret key for this credential. |
| Methods inherited from class org.opensaml.xml.security.credential.BasicCredential |
|---|
setEntityId, setPrivateKey, setUsageType |
| Methods inherited from class org.opensaml.xml.security.credential.AbstractCredential |
|---|
getCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getUsageType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.security.credential.Credential |
|---|
getCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getUsageType |
| Constructor Detail |
|---|
public BasicX509Credential()
| Method Detail |
|---|
public java.lang.Class<? extends Credential> getCredentialType()
Credential implemented by an implementation.
getCredentialType in interface CredentialgetCredentialType in class BasicCredentialpublic java.util.Collection<java.security.cert.X509CRL> getCRLs()
getCRLs in interface X509Credentialpublic void setCRLs(java.util.Collection<java.security.cert.X509CRL> newCRLs)
newCRLs - CRLs for this credentialpublic java.security.cert.X509Certificate getEntityCertificate()
Credential.getPublicKey().
getEntityCertificate in interface X509Credentialpublic void setEntityCertificate(java.security.cert.X509Certificate cert)
cert - entity certificate for this credentialpublic java.util.Collection<java.security.cert.X509Certificate> getEntityCertificateChain()
getEntityCertificateChain in interface X509Credentialpublic void setEntityCertificateChain(java.util.Collection<java.security.cert.X509Certificate> certs)
certs - ntity certificate chain for this credentialpublic void setPublicKey(java.security.PublicKey key)
setPublicKey in class BasicCredentialkey - public key for this credentialpublic void setSecretKey(javax.crypto.SecretKey key)
setSecretKey in class BasicCredentialkey - secret key for this credentialpublic javax.crypto.SecretKey getSecretKey()
getSecretKey in interface CredentialgetSecretKey in class AbstractCredential
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||