Package org.wildfly.channel.gpg
Interface GpgSignatureValidatorListener
public interface GpgSignatureValidatorListener
Validation callbacks used for example for additional logging.
-
Method Summary
Modifier and TypeMethodDescriptionvoidartifactSignatureCorrect(org.wildfly.channel.spi.ArtifactIdentifier artifact, org.bouncycastle.openpgp.PGPPublicKey publicKey) Called when and artifact signature was successfully verified.voidartifactSignatureInvalid(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 verifiedpublicKey- - 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 verifiedpublicKey- - the public key used to verify the artifact
-