|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 | |
|---|---|
java.lang.Class<? extends Credential> |
getCredentialType()
Get the primary type of the credential instance. |
void |
setEntityId(java.lang.String id)
Sets the ID of the entity this credential is for. |
void |
setPrivateKey(java.security.PrivateKey key)
Sets the private key for this credential. |
void |
setPublicKey(java.security.PublicKey key)
Sets the public key for this credential. |
void |
setSecretKey(javax.crypto.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 java.lang.Class<? extends Credential> getCredentialType()
Credential implemented by an implementation.
public void setEntityId(java.lang.String id)
id - ID of the entity this credential is forpublic void setUsageType(UsageType usage)
usage - usage type for this credentialpublic void setPublicKey(java.security.PublicKey key)
key - public key for this credentialpublic void setSecretKey(javax.crypto.SecretKey key)
key - secret key for this credentialpublic void setPrivateKey(java.security.PrivateKey key)
key - private key for this credential
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||