public interface Credential
Modifier and Type | Method and Description |
---|---|
CredentialContextSet |
getCredentalContextSet()
Get the set of credential context information, which provides additional information
specific to the contexts in which the credential was resolved.
|
Class<? extends Credential> |
getCredentialType()
Get the primary type of the credential instance.
|
String |
getEntityId()
The unique ID of the entity this credential is for.
|
Collection<String> |
getKeyNames()
Gets key names for this credential.
|
PrivateKey |
getPrivateKey()
Gets the private key for the entity if there is one.
|
PublicKey |
getPublicKey()
Gets the public key for the entity.
|
SecretKey |
getSecretKey()
Gets the secret key for this entity.
|
UsageType |
getUsageType()
Gets usage type of this credential.
|
String getEntityId()
UsageType getUsageType()
Collection<String> getKeyNames()
getPublicKey()
, getPrivateKey()
or getSecretKey()
methods.PublicKey getPublicKey()
PrivateKey getPrivateKey()
SecretKey getSecretKey()
CredentialContextSet getCredentalContextSet()
Class<? extends Credential> getCredentialType()
Credential
implemented by an implementation.Copyright © 2018 JBoss by Red Hat. All rights reserved.