Class GHVerification

    • Constructor Detail

      • GHVerification

        public GHVerification()
    • Method Detail

      • isVerified

        public boolean isVerified()
        Indicates whether GitHub considers the signature in this commit to be verified.
        Returns:
        true if the signature is valid else returns false.
      • getSignature

        public String getSignature()
        Gets signature used for the verification.
        Returns:
        null if not signed else encoded signature.
      • getPayload

        public String getPayload()
        Gets the payload that was signed.
        Returns:
        null if not signed else encoded signature.