package org.cryptonit.cloud.timestamping;

import org.bouncycastle.util.Store;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.security.*;
import java.security.cert.X509Certificate;
/**
 * @author Mathias Brossard
 */
public class Authority {
    private static Logger LOGGER;
    KeyPair key;
    X509Certificate crt;
    Store certs;
        
    public Authority(KeyPair key, X509Certificate crt, Store certs) {
        LOGGER = LoggerFactory.getLogger(Authority.class);
        
        this.key = key;
        this.crt = crt;
        this.certs = certs;
    }
}

@@ -36,16 +36,47 @@
 mping;%0A%0A
+import org.bouncycastle.tsp.*;%0A
 import o
@@ -386,24 +386,166 @@
 s;%0A        %0A
+    public TimeStampResponse timestamp(TimeStampRequest request) %7B%0A        TimeStampResponse response = null;%0A        return response;%0A    %7D%0A%0A
     public A

Add prototype for timestamp function