public class BasicX509Credential extends BasicCredential implements X509Credential
X509Credential.credentialContextSet, entityID, keyNames, privateKey, publicKey, secretKey, usageType| コンストラクタと説明 |
|---|
BasicX509Credential() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 インタフェース内 CredentialgetCredentialType クラス内 BasicCredentialpublic Collection<X509CRL> getCRLs()
getCRLs インタフェース内 X509Credentialpublic void setCRLs(Collection<X509CRL> newCRLs)
newCRLs - CRLs for this credentialpublic X509Certificate getEntityCertificate()
Credential.getPublicKey().getEntityCertificate インタフェース内 X509Credentialpublic void setEntityCertificate(X509Certificate cert)
cert - entity certificate for this credentialpublic Collection<X509Certificate> getEntityCertificateChain()
getEntityCertificateChain インタフェース内 X509Credentialpublic void setEntityCertificateChain(Collection<X509Certificate> certs)
certs - ntity certificate chain for this credentialpublic void setPublicKey(PublicKey key)
setPublicKey クラス内 BasicCredentialkey - public key for this credentialpublic void setSecretKey(SecretKey key)
setSecretKey クラス内 BasicCredentialkey - secret key for this credentialpublic SecretKey getSecretKey()
getSecretKey インタフェース内 CredentialgetSecretKey クラス内 AbstractCredentialCopyright © 2012. All Rights Reserved.