net.ripe.rpki.commons.crypto.cms.manifest
Class ManifestCms.FileContentSpecification

java.lang.Object
  extended by 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
ManifestCms.FileContentSpecification(byte[] hash)
           
 
Method Summary
 boolean equals(Object obj)
           
 byte[] getHash()
           
 int hashCode()
           
 boolean isSatisfiedBy(byte[] contents)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManifestCms.FileContentSpecification

public ManifestCms.FileContentSpecification(byte[] hash)
Method Detail

getHash

public byte[] getHash()

isSatisfiedBy

public boolean isSatisfiedBy(byte[] contents)
Specified by:
isSatisfiedBy in interface Specification<byte[]>
Parameters:
contents - the candidate to test.
Returns:
true if the candidate satisfies this specification.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2013 RIPE NCC, the Netherlands. All Rights Reserved.