org.opensaml.xml.security.credential
Class PublicKeyCriteria

java.lang.Object
  extended by org.opensaml.xml.security.credential.PublicKeyCriteria
All Implemented Interfaces:
CredentialCriteria, Criteria, ResolverCriteria

public class PublicKeyCriteria
extends java.lang.Object
implements CredentialCriteria

An implementation of CredentialCriteria which specifies public key criteria.


Constructor Summary
PublicKeyCriteria(java.security.PublicKey pubKey)
          Constructor.
 
Method Summary
 java.security.PublicKey getPublicKey()
          Get the public key criteria.
 void setPublicKey(java.security.PublicKey key)
          Set the public key criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicKeyCriteria

public PublicKeyCriteria(java.security.PublicKey pubKey)
Constructor.

Parameters:
pubKey - public key
Method Detail

getPublicKey

public java.security.PublicKey getPublicKey()
Get the public key criteria.

Returns:
Returns the publicKey.

setPublicKey

public void setPublicKey(java.security.PublicKey key)
Set the public key criteria.

Parameters:
key - The publicKey to set.