public interface MutableCredential extends Credential
Credential
which supports mutation of its properties.Modifier and Type | Method and Description |
---|---|
void |
setEntityId(String newEntityID)
Sets the ID of the entity this credential is for.
|
void |
setPrivateKey(PrivateKey newPrivateKey)
Sets the private key for this credential.
|
void |
setPublicKey(PublicKey newPublicKey)
Sets the public key for this credential.
|
void |
setSecretKey(SecretKey newSecretKey)
Sets the secret key for this credential.
|
void |
setUsageType(UsageType newUsageType)
Sets the usage type for this credential.
|
getCredentialContextSet, getCredentialType, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
void setEntityId(String newEntityID)
newEntityID
- ID of the entity this credential is forvoid setUsageType(UsageType newUsageType)
newUsageType
- usage type for this credentialvoid setPublicKey(PublicKey newPublicKey)
newPublicKey
- public key for this credentialvoid setPrivateKey(PrivateKey newPrivateKey)
newPrivateKey
- private key for this credentialvoid setSecretKey(SecretKey newSecretKey)
newSecretKey
- secret key for this credentialCopyright © 2016 JBoss by Red Hat. All rights reserved.