public class ExplicitKeyTrustEvaluator extends Object
Constructor and Description |
---|
ExplicitKeyTrustEvaluator() |
Modifier and Type | Method and Description |
---|---|
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.
|
public boolean validate(Key untrustedKey, Key trustedKey)
untrustedKey
- the untrusted key to evaluatetrustedKey
- basis for trustpublic boolean validate(Key untrustedKey, Iterable<Key> trustedKeys)
untrustedKey
- the untrusted key to evaluatetrustedKeys
- basis for trustpublic boolean validate(Credential untrustedCredential, Credential trustedCredential)
untrustedCredential
- the untrusted credential to evaluatetrustedCredential
- basis for trustpublic boolean validate(Credential untrustedCredential, Iterable<Credential> trustedCredentials)
untrustedCredential
- the untrusted credential to evaluatetrustedCredentials
- basis for trustCopyright © 2018 JBoss by Red Hat. All rights reserved.