|
XMLTooling-J 1.3.2-redhat-4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Credential
A credential for an entity. A particular credential may contain either asymmetric key information (a public key and optionally the corresponding private key), or a symmetric (secret) key, but never both. With asymmetric key-based credentials, local entity credentials will usually contain both a public and private key while peer credentails will normally contain only a public key.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
XMLTooling-J 1.3.2-redhat-4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |