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

name.neuhalfen.projects.crypto.bouncycastle.openpgp.validation.IgnoreSignaturesValidationStrategy Maven / Gradle / Ivy

The newest version!
package name.neuhalfen.projects.crypto.bouncycastle.openpgp.validation;


import java.security.SignatureException;
import java.util.Map;
import org.bouncycastle.openpgp.PGPException;
import org.bouncycastle.openpgp.PGPObjectFactory;
import org.bouncycastle.openpgp.PGPOnePassSignature;

final class IgnoreSignaturesValidationStrategy implements SignatureValidationStrategy {

  @Override
  public void validateSignatures(PGPObjectFactory factory,
      Map onePassSignatures) throws SignatureException, PGPException {
    // Ignore
  }


  @Override
  public boolean isRequireSignatureCheck() {
    return false;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy