Interface GpgSignatureValidatorListener


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

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

    • artifactSignatureCorrect

      void artifactSignatureCorrect(org.wildfly.channel.spi.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(org.wildfly.channel.spi.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