package org.cryptonit.cloud.timestamping;

import org.cryptonit.cloud.interfaces.TimestampingPolicy;

public class Policy implements TimestampingPolicy {

    String identity;
    String policyId;

    public Policy(String identity, String policyId) {
        this.identity = identity;
        this.policyId = policyId;
    }

    @Override
    public String getIdentity() {
        return identity;
    }

    @Override
    public String getPolicyId() {
        return policyId;
    }
}

@@ -189,16 +189,38 @@
 olicyId;
+%0A    String algorithm;
 %0A%0A    pu
@@ -263,16 +263,34 @@
 policyId
+, String algorithm
 ) %7B%0A    
@@ -349,24 +349,60 @@
 = policyId;%0A
+        this.algorithm = algorithm;%0A
     %7D%0A%0A    @
@@ -554,11 +554,79 @@
 d;%0A    %7D
+%0A%0A    public String getAlgorithm() %7B%0A        return algorithm;%0A    %7D
 %0A%7D%0A

Add algorithm field in class