Class SignatureDSA

    • Constructor Detail

      • SignatureDSA

        public SignatureDSA()
      • SignatureDSA

        protected SignatureDSA​(String algorithm)
    • Method Detail

      • putBigInteger

        public static void putBigInteger​(BigInteger value,
                                         byte[] result,
                                         int offset)
      • verify

        public boolean verify​(SessionContext session,
                              byte[] sig)
                       throws Exception
        Description copied from interface: Signature
        Verify against the given signature
        Parameters:
        session - The SessionContext for calling this method - may be null if not called within a session context
        sig - The signed data
        Returns:
        true if signature is valid
        Throws:
        Exception - If failed to extract signed data for validation