|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.security.credential.AbstractCredential
public abstract class AbstractCredential
Base class for Credential implementations.
| Field Summary | |
|---|---|
protected CredentialContextSet |
credentialContextSet
Credential context of this credential. |
protected String |
entityID
ID of the entity owning this credential. |
protected Collection<String> |
keyNames
Key names for this credential. |
protected PrivateKey |
privateKey
Private key of this credential. |
protected PublicKey |
publicKey
Public key of this credential. |
protected SecretKey |
secretKey
Secret key for this credential. |
protected UsageType |
usageType
Usage type of this credential. |
| Constructor Summary | |
|---|---|
AbstractCredential()
Constructor. |
|
| 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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.security.credential.Credential |
|---|
getCredentialType |
| Field Detail |
|---|
protected String entityID
protected UsageType usageType
protected Collection<String> keyNames
protected PublicKey publicKey
protected SecretKey secretKey
protected PrivateKey privateKey
protected final CredentialContextSet credentialContextSet
| Constructor Detail |
|---|
public AbstractCredential()
| Method Detail |
|---|
public String getEntityId()
getEntityId in interface Credentialpublic UsageType getUsageType()
getUsageType in interface Credentialpublic Collection<String> getKeyNames()
Credential.getPublicKey(), Credential.getPrivateKey()
or Credential.getSecretKey() methods.
getKeyNames in interface Credentialpublic PublicKey getPublicKey()
getPublicKey in interface Credentialpublic SecretKey getSecretKey()
getSecretKey in interface Credentialpublic PrivateKey getPrivateKey()
getPrivateKey in interface Credentialpublic CredentialContextSet getCredentalContextSet()
getCredentalContextSet in interface Credential
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||