Package org.opensaml.security.x509
Class X509DigestCriterion
- java.lang.Object
-
- org.opensaml.security.x509.X509DigestCriterion
-
-
Field Summary
Fields Modifier and Type Field Description private StringalgorithmDigest algorithm.private byte[]x509digestX.509 certificate digest.
-
Constructor Summary
Constructors Constructor Description X509DigestCriterion(String alg, byte[] digest)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAlgorithm()Get the digest algorithm.byte[]getDigest()Get the certificate digest.inthashCode()voidsetAlgorithm(String alg)Set the digest algorithm.voidsetDigest(byte[] digest)Set the certificate digest.StringtoString()
-
-
-
Field Detail
-
algorithm
private String algorithm
Digest algorithm.
-
x509digest
private byte[] x509digest
X.509 certificate digest.
-
-
Constructor Detail
-
X509DigestCriterion
public X509DigestCriterion(@Nonnull String alg, @Nonnull byte[] digest)Constructor.- Parameters:
alg- algorithm of digest computationdigest- certificate digest
-
-
Method Detail
-
getAlgorithm
@Nonnull public String getAlgorithm()
Get the digest algorithm.- Returns:
- the digest algorithm
-
setAlgorithm
public void setAlgorithm(@Nonnull String alg)Set the digest algorithm.- Parameters:
alg- the digest algorithm to set
-
getDigest
@Nonnull public byte[] getDigest()
Get the certificate digest.- Returns:
- the digest
-
setDigest
public void setDigest(@Nonnull byte[] digest)Set the certificate digest.- Parameters:
digest- the certificate digest to set
-
-