Interface GpgSignatureValidatorListener


public interface GpgSignatureValidatorListener
Validation callbacks used for example for additional logging.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    artifactSignatureCorrect(ArtifactIdentifier artifact, org.bouncycastle.openpgp.PGPPublicKey publicKey)
    Called when and artifact signature was successfully verified.
    void
    artifactSignatureInvalid(ArtifactIdentifier artifact, org.bouncycastle.openpgp.PGPPublicKey publicKey)
    Called when and artifact signature was found to be invalid.
  • Method Details

    • artifactSignatureCorrect

      void artifactSignatureCorrect(ArtifactIdentifier artifact, org.bouncycastle.openpgp.PGPPublicKey publicKey)
      Called when and artifact signature was successfully verified.
      Parameters:
      artifact - - the ID of the artifact being verified
      publicKey - - the public key used to verify the artifact
    • artifactSignatureInvalid

      void artifactSignatureInvalid(ArtifactIdentifier artifact, org.bouncycastle.openpgp.PGPPublicKey publicKey)
      Called when and artifact signature was found to be invalid.
      Parameters:
      artifact - - the ID of the artifact being verified
      publicKey - - the public key used to verify the artifact