public interface MutableCredential extends Credential
Credential which supports mutation of its properties.| Modifier and Type | Method and Description |
|---|---|
void |
setEntityId(java.lang.String newEntityID)
Sets the ID of the entity this credential is for.
|
void |
setPrivateKey(java.security.PrivateKey newPrivateKey)
Sets the private key for this credential.
|
void |
setPublicKey(java.security.PublicKey newPublicKey)
Sets the public key for this credential.
|
void |
setSecretKey(javax.crypto.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, getUsageTypevoid setEntityId(java.lang.String newEntityID)
newEntityID - ID of the entity this credential is forvoid setUsageType(UsageType newUsageType)
newUsageType - usage type for this credentialvoid setPublicKey(java.security.PublicKey newPublicKey)
newPublicKey - public key for this credentialvoid setPrivateKey(java.security.PrivateKey newPrivateKey)
newPrivateKey - private key for this credentialvoid setSecretKey(javax.crypto.SecretKey newSecretKey)
newSecretKey - secret key for this credential