@Constraint(validatedBy=PrivateKeyValidator.class) @Target(value=TYPE) @Retention(value=RUNTIME) public @interface PrivateKeyIsValid
PrivateKeyValidator
and Validated
will have the
constraints applied.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.