org.gridkit.internal.com.jcraft.jsch
Interface SignatureDSA

All Known Implementing Classes:
SignatureDSA

public interface SignatureDSA


Method Summary
 void init()
           
 void setPrvKey(byte[] x, byte[] p, byte[] q, byte[] g)
           
 void setPubKey(byte[] y, byte[] p, byte[] q, byte[] g)
           
 byte[] sign()
           
 void update(byte[] H)
           
 boolean verify(byte[] sig)
           
 

Method Detail

init

void init()
          throws Exception
Throws:
Exception

setPubKey

void setPubKey(byte[] y,
               byte[] p,
               byte[] q,
               byte[] g)
               throws Exception
Throws:
Exception

setPrvKey

void setPrvKey(byte[] x,
               byte[] p,
               byte[] q,
               byte[] g)
               throws Exception
Throws:
Exception

update

void update(byte[] H)
            throws Exception
Throws:
Exception

verify

boolean verify(byte[] sig)
               throws Exception
Throws:
Exception

sign

byte[] sign()
            throws Exception
Throws:
Exception


Copyright © 2017. All Rights Reserved.