public class BasicX509Credential extends BasicCredential implements X509Credential
X509Credential.credentialContextSet, entityID, keyNames, privateKey, publicKey, secretKey, usageType| Constructor and Description |
|---|
BasicX509Credential() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Credential> |
getCredentialType()
Get the primary type of the credential instance.
|
Collection<X509CRL> |
getCRLs()
Gets a collection of CRLs associated with the credential.
|
X509Certificate |
getEntityCertificate()
Gets the public certificate for the entity.
|
Collection<X509Certificate> |
getEntityCertificateChain()
Gets an immutable collection of certificates in the entity's trust chain.
|
SecretKey |
getSecretKey()
Gets the secret key for this entity.
|
void |
setCRLs(Collection<X509CRL> newCRLs)
Sets the CRLs for this credential.
|
void |
setEntityCertificate(X509Certificate cert)
Sets the entity certificate for this credential.
|
void |
setEntityCertificateChain(Collection<X509Certificate> certs)
Sets the entity certificate chain for this credential.
|
void |
setPublicKey(PublicKey key)
Sets the public key for this credential.
|
void |
setSecretKey(SecretKey key)
Sets the secret key for this credential.
|
setEntityId, setPrivateKey, setUsageTypegetCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getUsageTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getUsageTypepublic Class<? extends Credential> getCredentialType()
Credential implemented by an implementation.getCredentialType in interface CredentialgetCredentialType in class BasicCredentialpublic Collection<X509CRL> getCRLs()
getCRLs in interface X509Credentialpublic void setCRLs(Collection<X509CRL> newCRLs)
newCRLs - CRLs for this credentialpublic X509Certificate getEntityCertificate()
Credential.getPublicKey().getEntityCertificate in interface X509Credentialpublic void setEntityCertificate(X509Certificate cert)
cert - entity certificate for this credentialpublic Collection<X509Certificate> getEntityCertificateChain()
getEntityCertificateChain in interface X509Credentialpublic void setEntityCertificateChain(Collection<X509Certificate> certs)
certs - ntity certificate chain for this credentialpublic void setPublicKey(PublicKey key)
setPublicKey in class BasicCredentialkey - public key for this credentialpublic void setSecretKey(SecretKey key)
setSecretKey in class BasicCredentialkey - secret key for this credentialpublic SecretKey getSecretKey()
getSecretKey in interface CredentialgetSecretKey in class AbstractCredentialCopyright © 2018 JBoss by Red Hat. All rights reserved.