类 KeyExchangeConfig

    • 构造器详细资料

      • KeyExchangeConfig

        public KeyExchangeConfig()
    • 方法详细资料

      • mapKeyExchangeStorage

        @Bean
        @ConditionalOnMissingBean
        @ConditionalOnProperty(prefix="yue.crypto.key-exchange",
                               name="key-exchange-storage-type",
                               havingValue="LOCAL_MAP",
                               matchIfMissing=true)
        public MapKeyExchangeStorage mapKeyExchangeStorage()
      • redisKeyExchangeStorage

        @Bean
        @ConditionalOnMissingBean
        @ConditionalOnClass({ai.yue.library.data.redis.client.Redis.class,org.springframework.data.redis.connection.RedisConnectionFactory.class})
        @ConditionalOnProperty(prefix="yue.crypto.key-exchange",
                               name="key-exchange-storage-type",
                               havingValue="REDIS")
        public RedisKeyExchangeStorage redisKeyExchangeStorage()