1 2 29 30 package com.jcraft.jsch; 31 32 public interface SignatureDSA{ 33 void init() throws Exception ; 34 void setPubKey(byte[] y, byte[] p, byte[] q, byte[] g) throws Exception ; 35 void setPrvKey(byte[] x, byte[] p, byte[] q, byte[] g) throws Exception ; 36 void update(byte[] H) throws Exception ; 37 boolean verify(byte[] sig) throws Exception ; 38 byte[] sign() throws Exception ; 39 } 40 | Popular Tags |