public class BasicCredential extends AbstractCredential
Credential
.credentialContextSet, entityID, keyNames, privateKey, publicKey, secretKey, usageType
コンストラクタと説明 |
---|
BasicCredential()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Class<? extends Credential> |
getCredentialType()
Get the primary type of the credential instance.
|
void |
setEntityId(String id)
Sets the ID of the entity this credential is for.
|
void |
setPrivateKey(PrivateKey key)
Sets the private key 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.
|
void |
setUsageType(UsageType usage)
Sets the usage type for this credential.
|
getCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
public Class<? extends Credential> getCredentialType()
Credential
implemented by an implementation.public void setEntityId(String id)
id
- ID of the entity this credential is forpublic void setUsageType(UsageType usage)
usage
- usage type for this credentialpublic void setPublicKey(PublicKey key)
key
- public key for this credentialpublic void setSecretKey(SecretKey key)
key
- secret key for this credentialpublic void setPrivateKey(PrivateKey key)
key
- private key for this credentialCopyright © 2012. All Rights Reserved.