Class NopPacSignatureVerifier

  • All Implemented Interfaces:
    PacSignatureVerifier

    public class NopPacSignatureVerifier
    extends Object
    implements PacSignatureVerifier
    A PAC signature verifier which will do nothing.

    Note: Use this verifier for testing purposes only, do not use in production!

    • Constructor Detail

      • NopPacSignatureVerifier

        public NopPacSignatureVerifier()
    • Method Detail

      • verify

        public void verify​(PacSignatureData signatureData,
                           byte[] data,
                           Key[] keys)
                    throws SignatureException
        Description copied from interface: PacSignatureVerifier
        Verifies the signature on the supplied data with an array of suitable Kerberos keys.
        Specified by:
        verify in interface PacSignatureVerifier
        Parameters:
        signatureData - the PAC signature data to be verified
        data - the data to be verififed
        keys - an array of keys to calculate the signature
        Throws:
        SignatureException - if signature cannot be verified