|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.security.credential.AbstractCredential org.opensaml.xml.security.credential.BasicCredential
public class BasicCredential
A basic implementation of Credential
.
Field Summary |
---|
Fields inherited from class org.opensaml.xml.security.credential.AbstractCredential |
---|
credentialContextSet, entityID, keyNames, privateKey, publicKey, secretKey, usageType |
Constructor Summary | |
---|---|
BasicCredential()
Constructor. |
Method Summary | |
---|---|
Class<? extends Credential> |
getCredentialType()
Get the primary type of the credential instance. |
void |
setEntityId(String id)
Sets the ID of the entity this credential is for. |
void |
setPrivateKey(PrivateKey key)
Sets the private key for this credential. |
void |
setPublicKey(PublicKey key)
Sets the public key for this credential. |
void |
setSecretKey(SecretKey key)
Sets the secret key for this credential. |
void |
setUsageType(UsageType usage)
Sets the usage type for this credential. |
Methods inherited from class org.opensaml.xml.security.credential.AbstractCredential |
---|
getCredentalContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicCredential()
Method Detail |
---|
public Class<? extends Credential> getCredentialType()
Credential
implemented by an implementation.
public void setEntityId(String id)
id
- ID of the entity this credential is forpublic void setUsageType(UsageType usage)
usage
- usage type for this credentialpublic void setPublicKey(PublicKey key)
key
- public key for this credentialpublic void setSecretKey(SecretKey key)
key
- secret key for this credentialpublic void setPrivateKey(PrivateKey key)
key
- private key for this credential
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |