public interface Credential
Modifier and Type | Method and Description |
---|---|
CredentialContextSet |
getCredentialContextSet()
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.
|
@Nullable String getEntityId()
@Nullable UsageType getUsageType()
@Nonnull Collection<String> getKeyNames()
getPublicKey()
, getPrivateKey()
or getSecretKey()
methods.@Nullable PublicKey getPublicKey()
@Nullable PrivateKey getPrivateKey()
@Nullable SecretKey getSecretKey()
@Nullable CredentialContextSet getCredentialContextSet()
@Nonnull Class<? extends Credential> getCredentialType()
Credential
implemented by an implementation.Copyright © 2016 JBoss by Red Hat. All rights reserved.