001/*
002 * acme4j - Java ACME client
003 *
004 * Copyright (C) 2021 Richard "Shred" K├Ârber
005 *   http://acme4j.shredzone.org
006 *
007 * Licensed under the Apache License, Version 2.0 (the "License");
008 * you may not use this file except in compliance with the License.
009 *
010 * This program is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
013 */
014package org.shredzone.acme4j.provider;
015
016import java.lang.annotation.Documented;
017import java.lang.annotation.ElementType;
018import java.lang.annotation.Retention;
019import java.lang.annotation.RetentionPolicy;
020import java.lang.annotation.Target;
021
022/**
023 * Annotates the challenge type that is generated by the {@link ChallengeProvider}.
024 *
025 * @since 2.12
026 */
027@Documented
028@Retention(RetentionPolicy.RUNTIME)
029@Target(ElementType.TYPE)
030public @interface ChallengeType {
031
032    /**
033     * Challenge type.
034     */
035    String value();
036
037}