Interface GenericJcaSignatureContext.VerifyLengthResolver

Enclosing class:
GenericJcaSignatureContext
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GenericJcaSignatureContext.VerifyLengthResolver
Strategy for determining the expected signature length in VERIFY mode.

The resolver is evaluated during construction and should return the fixed tag length for verification.

  • Method Summary

    Modifier and Type
    Method
    Description
    fixed(int len)
    Returns a resolver that always reports a fixed length.
    int
    resolve(PublicKey publicKey)
    Resolves the expected signature length for a given public key in VERIFY mode.