29 lines
608 B
Java
29 lines
608 B
Java
package org.springblade.core.api.crypto.annotation.decrypt;
|
|
|
|
import org.springblade.core.api.crypto.enums.CryptoType;
|
|
import org.springframework.core.annotation.AliasFor;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* des 解密
|
|
*
|
|
* @author licoy.cn
|
|
* @see ApiDecrypt
|
|
*/
|
|
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
@ApiDecrypt(CryptoType.DES)
|
|
public @interface ApiDecryptDes {
|
|
|
|
/**
|
|
* Alias for {@link ApiDecrypt#secretKey()}.
|
|
*
|
|
* @return {String}
|
|
*/
|
|
@AliasFor(annotation = ApiDecrypt.class)
|
|
String secretKey() default "";
|
|
|
|
}
|