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, setUsageType
getCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getUsageType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getUsageType
public Class<? extends Credential> getCredentialType()
Credential
implemented by an implementation.getCredentialType
インタフェース内 Credential
getCredentialType
クラス内 BasicCredential
public Collection<X509CRL> getCRLs()
getCRLs
インタフェース内 X509Credential
public void setCRLs(Collection<X509CRL> newCRLs)
newCRLs
- CRLs for this credentialpublic X509Certificate getEntityCertificate()
Credential.getPublicKey()
.getEntityCertificate
インタフェース内 X509Credential
public void setEntityCertificate(X509Certificate cert)
cert
- entity certificate for this credentialpublic Collection<X509Certificate> getEntityCertificateChain()
getEntityCertificateChain
インタフェース内 X509Credential
public void setEntityCertificateChain(Collection<X509Certificate> certs)
certs
- ntity certificate chain for this credentialpublic void setPublicKey(PublicKey key)
setPublicKey
クラス内 BasicCredential
key
- public key for this credentialpublic void setSecretKey(SecretKey key)
setSecretKey
クラス内 BasicCredential
key
- secret key for this credentialpublic SecretKey getSecretKey()
getSecretKey
インタフェース内 Credential
getSecretKey
クラス内 AbstractCredential
Copyright © 2012. All Rights Reserved.