public final class X509DigestCriterion
extends java.lang.Object
implements net.shibboleth.utilities.java.support.resolver.Criterion
Criterion which specifies criteria based on
the digest of an X.509 certificate.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
algorithm
Digest algorithm.
|
private byte[] |
x509digest
X.509 certificate digest.
|
| Constructor and Description |
|---|
X509DigestCriterion(java.lang.String alg,
byte[] digest)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlgorithm()
Get the digest algorithm.
|
byte[] |
getDigest()
Get the certificate digest.
|
int |
hashCode() |
void |
setAlgorithm(java.lang.String alg)
Set the digest algorithm.
|
void |
setDigest(byte[] digest)
Set the certificate digest.
|
java.lang.String |
toString() |
private java.lang.String algorithm
private byte[] x509digest
public X509DigestCriterion(@Nonnull
java.lang.String alg,
@Nonnull
byte[] digest)
alg - algorithm of digest computationdigest - certificate digest@Nonnull public java.lang.String getAlgorithm()
public void setAlgorithm(@Nonnull
java.lang.String alg)
alg - the digest algorithm to set@Nonnull public byte[] getDigest()
public void setDigest(@Nonnull
byte[] digest)
digest - the certificate digest to setpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object