All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.spongycastle.openpgp.operator.PGPContentVerifier Maven / Gradle / Ivy

package org.spongycastle.openpgp.operator;

import java.io.OutputStream;

public interface PGPContentVerifier
{
    public OutputStream getOutputStream();

    int getHashAlgorithm();

    int getKeyAlgorithm();

    long getKeyID();

    /**
     * @param expected expected value of the signature on the data.
     * @return true if the signature verifies, false otherwise
     */
    boolean verify(byte[] expected);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy