Class ManifestCms.FileContentSpecification
- java.lang.Object
-
- net.ripe.rpki.commons.crypto.cms.manifest.ManifestCms.FileContentSpecification
-
- All Implemented Interfaces:
Specification<byte[]>
- Enclosing class:
- ManifestCms
public static class ManifestCms.FileContentSpecification extends Object implements Specification<byte[]>
-
-
Constructor Summary
Constructors Constructor Description FileContentSpecification(byte[] hash)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)byte[]getHash()inthashCode()booleanisSatisfiedBy(byte[] contents)StringtoString()
-
-
-
Method Detail
-
getHash
public byte[] getHash()
-
isSatisfiedBy
public boolean isSatisfiedBy(byte[] contents)
- Specified by:
isSatisfiedByin interfaceSpecification<byte[]>- Parameters:
contents- the candidate to test.- Returns:
- true if the candidate satisfies this specification.
-
-