|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.security.trust.ExplicitKeyTrustEvaluator
public class ExplicitKeyTrustEvaluator
Auxillary trust evaluator for evaluating an untrusted key or credential against a trusted key or credential. Trust is established if the untrusted key (or public key or symmetric key from the untrusted credential) is matches one of the trusted keys supplied.
| Constructor Summary | |
|---|---|
ExplicitKeyTrustEvaluator()
|
|
| Method Summary | |
|---|---|
boolean |
validate(Credential untrustedCredential,
Credential trustedCredential)
Evaluate trust. |
boolean |
validate(Credential untrustedCredential,
Iterable<Credential> trustedCredentials)
Evaluate trust. |
boolean |
validate(Key untrustedKey,
Iterable<Key> trustedKeys)
Evaluate trust. |
boolean |
validate(Key untrustedKey,
Key trustedKey)
Evaluate trust. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExplicitKeyTrustEvaluator()
| Method Detail |
|---|
public boolean validate(Key untrustedKey,
Key trustedKey)
untrustedKey - the untrusted key to evaluatetrustedKey - basis for trust
public boolean validate(Key untrustedKey,
Iterable<Key> trustedKeys)
untrustedKey - the untrusted key to evaluatetrustedKeys - basis for trust
public boolean validate(Credential untrustedCredential,
Credential trustedCredential)
untrustedCredential - the untrusted credential to evaluatetrustedCredential - basis for trust
public boolean validate(Credential untrustedCredential,
Iterable<Credential> trustedCredentials)
untrustedCredential - the untrusted credential to evaluatetrustedCredentials - basis for trust
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||