|
||||||||||
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 java.lang.String |
entityID
ID of the entity owning this credential. |
protected java.util.Collection<java.lang.String> |
keyNames
Key names for this credential. |
protected java.security.PrivateKey |
privateKey
Private key of this credential. |
protected java.security.PublicKey |
publicKey
Public key of this credential. |
protected javax.crypto.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. |
java.lang.String |
getEntityId()
The unique ID of the entity this credential is for. |
java.util.Collection<java.lang.String> |
getKeyNames()
Gets key names for this credential. |
java.security.PrivateKey |
getPrivateKey()
Gets the private key for the entity if there is one. |
java.security.PublicKey |
getPublicKey()
Gets the public key for the entity. |
javax.crypto.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 java.lang.String entityID
protected UsageType usageType
protected java.util.Collection<java.lang.String> keyNames
protected java.security.PublicKey publicKey
protected javax.crypto.SecretKey secretKey
protected java.security.PrivateKey privateKey
protected final CredentialContextSet credentialContextSet
Constructor Detail |
---|
public AbstractCredential()
Method Detail |
---|
public java.lang.String getEntityId()
getEntityId
in interface Credential
public UsageType getUsageType()
getUsageType
in interface Credential
public java.util.Collection<java.lang.String> getKeyNames()
Credential.getPublicKey()
, Credential.getPrivateKey()
or Credential.getSecretKey()
methods.
getKeyNames
in interface Credential
public java.security.PublicKey getPublicKey()
getPublicKey
in interface Credential
public javax.crypto.SecretKey getSecretKey()
getSecretKey
in interface Credential
public java.security.PrivateKey getPrivateKey()
getPrivateKey
in interface Credential
public CredentialContextSet getCredentalContextSet()
getCredentalContextSet
in interface Credential
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |