com.heanbian.boot.autoconfigure.crypto.CryptoAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of heanbian-spring-boot-autoconfigure Show documentation
Show all versions of heanbian-spring-boot-autoconfigure Show documentation
Heanbian spring boot autoconfigure component.
package com.heanbian.boot.autoconfigure.crypto;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.heanbian.block.crypto.AesTemplate;
import com.heanbian.block.crypto.EcTemplate;
import com.heanbian.block.crypto.RsaTemplate;
@Configuration
public class CryptoAutoConfiguration {
@Bean
public AesTemplate aesTemplate() {
return new AesTemplate();
}
@Bean
public RsaTemplate rsaTemplate() {
return new RsaTemplate();
}
@Bean
public EcTemplate ecTemplate() {
return new EcTemplate();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy