eu.planets_project.services.fixity
Class FixityResult
java.lang.Object
eu.planets_project.services.fixity.FixityResult
public class FixityResult
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixityResult
public FixityResult(java.lang.String algorithmId,
java.lang.String algorithmProvider,
byte[] digestValue,
java.util.List<Property> properties,
ServiceReport report)
- Parameters:
algorithmId
- the java.lang.String identifier of the digest algorithm usedalgorithmProvider
- the java.lang.String name of the digest algorithm providerdigestValue
- the byte[] digest valueproperties
- any service properties to add to the reportreport
- the service report
FixityResult
public FixityResult(java.lang.String algorithmId,
java.lang.String algorithmProvider,
java.util.List<Property> properties,
ServiceReport report)
- Parameters:
algorithmId
- the java.lang.String identifier of the digest algorithm usedalgorithmProvider
- the java.lang.String name of the digest algorithm providerproperties
- any service properties to add to the reportreport
- the service report
FixityResult
public FixityResult(java.util.List<Property> properties,
ServiceReport report)
- Parameters:
properties
- any service properties to add to the reportreport
- the service report
FixityResult
public FixityResult(ServiceReport report)
- Parameters:
report
- the service report
getAlgorithmId
public java.lang.String getAlgorithmId()
- Returns:
- the java.lang.String algorithm ID
getAlgorithmProvider
public java.lang.String getAlgorithmProvider()
- Returns:
- the algorithm provider
getHexDigestValue
public java.lang.String getHexDigestValue()
- Returns:
- the digest value as a java.lang.String
getDigestValue
public byte[] getDigestValue()
- Returns:
- the digest values as a byte array
getProperties
public java.util.List<Property> getProperties()
- Returns:
- the an unmodifiable java.util.List
of properties associated with the FixityResult
getReport
public ServiceReport getReport()
- Returns:
- the eu.planets_project.services.datatypes.ServiceReport report
Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.