Interface Signature

All Known Subinterfaces:
SignatureDSA, SignatureECDSA, SignatureEdDSA, SignatureRSA
All Known Implementing Classes:
SignatureDSA, SignatureECDSA256, SignatureECDSA384, SignatureECDSA521, SignatureECDSAN, SignatureRSA, SignatureRSAN, SignatureRSASHA256, SignatureRSASHA512

public interface Signature
  • Method Summary

    Modifier and Type Method Description
    void init()  
    byte[] sign()  
    void update​(byte[] H)  
    boolean verify​(byte[] sig)  
  • Method Details

    • init

      void init() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • update

      void update​(byte[] H) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • verify

      boolean verify​(byte[] sig) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • sign

      byte[] sign() throws java.lang.Exception
      Throws:
      java.lang.Exception