public final class EvaluableX509DigestCredentialCriterion extends net.shibboleth.utilities.java.support.logic.AbstractTriStatePredicate<Credential> implements EvaluableCredentialCriterion
Criterion
which specifies
criteria based on the digest of an X.509 certificate.Modifier and Type | Field and Description |
---|---|
private String |
algorithm
Digest algorithm.
|
private org.slf4j.Logger |
log
Logger.
|
private byte[] |
x509digest
X.509 certificate digest.
|
Constructor and Description |
---|
EvaluableX509DigestCredentialCriterion(String alg,
byte[] digest)
Constructor.
|
EvaluableX509DigestCredentialCriterion(X509DigestCriterion criteria)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Credential target) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
private final org.slf4j.Logger log
private final String algorithm
private final byte[] x509digest
public EvaluableX509DigestCredentialCriterion(@Nonnull X509DigestCriterion criteria)
criteria
- the criteria which is the basis for evaluation@Nullable public boolean apply(@Nullable Credential target)
apply
in interface com.google.common.base.Predicate<Credential>
public boolean equals(Object obj)
equals
in interface com.google.common.base.Predicate<Credential>
equals
in class Object
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.