- generateKey() - 类 中的静态方法com.ms.tools.security.encryption.dsa.factory.DsaFactory
-
生成密钥对
- generateKey(Integer) - 类 中的静态方法com.ms.tools.security.encryption.dsa.factory.DsaFactory
-
生成密钥对
- generateKey() - 类 中的静态方法com.ms.tools.security.encryption.rsa.factory.RsaFactory
-
生成密钥对
- generateKey(int) - 类 中的静态方法com.ms.tools.security.encryption.rsa.factory.RsaFactory
-
生成密钥对
- generateKey() - 类 中的静态方法com.ms.tools.security.encryption.rsa.RSA
-
生成密钥对
2048默认密钥位数
- generateKey1024() - 类 中的静态方法com.ms.tools.security.encryption.rsa.RSA
-
生成密钥对
- GenerateKeyPair - com.ms.tools.security.encryption.key中的类
-
密钥信息
非对称加密
- GenerateKeyPair(KeyPair) - 类 的构造器com.ms.tools.security.encryption.key.GenerateKeyPair
-
- getBuilder() - 类 中的方法com.ms.tools.security.jjwt.factory.JJWTFactory.Builder.Body
-
获取构建器
自定义构建
- getBuilder() - 类 中的方法com.ms.tools.security.jjwt.factory.JJWTFactory.Builders
-
构建
- getClock(Date) - 类 中的静态方法com.ms.tools.security.jjwt.factory.JJWTFactory
-
获取偏移时间
不推荐使用
- getCodeDigits() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns the number of digits in the generated code.
- getConfig() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorKey
-
Get the config of this key.
- getCredentialRepository() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
此方法加载使用Java服务加载器API注册的第一个可用ICredentialRepository
- getCredentialRepository() - 接口 中的方法com.ms.tools.security.authenticator.factory.IGoogleAuthenticator
-
This method returns the credential repository used by this instance, or
null if none is set or none can be found using the ServiceLoader
API.
- getDsaKey() - 类 中的静态方法com.ms.tools.security.encryption.key.DsaKey
-
- getFactory(ICredentialRepository) - 类 中的静态方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
单例对象获取
- getGenerateKeyPair() - 类 中的方法com.ms.tools.security.encryption.key.DsaKey
-
- getGenerateKeyPair() - 类 中的方法com.ms.tools.security.encryption.key.JJWTKey
-
- getGenerateKeyPair() - 类 中的方法com.ms.tools.security.encryption.key.RsaKey
-
- getHmacHashFunction() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns the cryptographic hash function used to calculate the HMAC (Hash-based
Message Authentication Code).
- getJJWTKey() - 类 中的静态方法com.ms.tools.security.encryption.key.JJWTKey
-
- getKey() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorKey
-
Returns the secret key in Base32 encoding.
- getKeyLength(PublicKey) - 类 中的方法com.ms.tools.security.encryption.rsa.RSA
-
获取密钥加密长度
默认加密长度2048
-1表示读取密钥失败
- getKeyLength(PrivateKey) - 类 中的方法com.ms.tools.security.encryption.rsa.RSA
-
获取密钥加密长度
默认加密长度2048
-1表示读取密钥失败
- getKeyModulus() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns the key module.
- getKeyPair() - 类 中的静态方法com.ms.tools.security.encryption.dsa.DSA
-
获取密钥信息
- getKeyPair() - 类 中的方法com.ms.tools.security.encryption.key.DsaKey
-
- getKeyPair() - 类 中的方法com.ms.tools.security.encryption.key.GenerateKeyPair
-
- getKeyPair() - 类 中的方法com.ms.tools.security.encryption.key.JJWTKey
-
- getKeyPair() - 类 中的方法com.ms.tools.security.encryption.key.RsaKey
-
- getKeyPair() - 类 中的静态方法com.ms.tools.security.encryption.rsa.RSA
-
获取密钥信息
- getKeyPair(SignatureAlgorithm) - 类 中的静态方法com.ms.tools.security.jjwt.factory.JJWTFactory
-
获取密钥-非对称加密
- getKeyRepresentation() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns the key representation.
- getNumberOfScratchCodes() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns the number of scratch codes to generate.
- getOtpAuthTotpURL(String, String, GoogleAuthenticatorKey) - 类 中的静态方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorQRGenerator
-
返回基本otpauth TOTP URI。
- getOtpAuthURL(String, String, GoogleAuthenticatorKey, Integer) - 类 中的静态方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorQRGenerator
-
返回Google Chart API调用的URL,以生成要加载到Google Authenticator应用程序中的QR条形码。
- getPrivate() - 类 中的方法com.ms.tools.security.encryption.key.DsaKey
-
获取密钥
- getPrivate() - 类 中的方法com.ms.tools.security.encryption.key.JJWTKey
-
获取密钥
- getPrivate() - 类 中的方法com.ms.tools.security.encryption.key.RsaKey
-
获取密钥
- getPrivateKey() - 类 中的静态方法com.ms.tools.security.encryption.dsa.DSA
-
获取密钥
密钥单例维护,每次部署全局唯一 重启服务更换密钥
- getPrivateKey() - 类 中的方法com.ms.tools.security.encryption.key.GenerateKeyPair
-
- getPrivateKey() - 类 中的静态方法com.ms.tools.security.encryption.rsa.RSA
-
获取密钥
密钥单例维护,每次部署全局唯一 重启服务更换密钥
- getPrivateKeyLength(String) - 类 中的方法com.ms.tools.security.encryption.rsa.RSA
-
获取密钥加密长度
默认加密长度2048
-1表示读取密钥失败
- getPrivateStr() - 类 中的方法com.ms.tools.security.encryption.key.DsaKey
-
获取密钥
- getPrivateStr() - 类 中的方法com.ms.tools.security.encryption.key.JJWTKey
-
获取密钥
- getPrivateStr() - 类 中的方法com.ms.tools.security.encryption.key.RsaKey
-
获取密钥
- getPublicKey() - 类 中的静态方法com.ms.tools.security.encryption.dsa.DSA
-
获取密钥
密钥单例维护,每次部署全局唯一 重启服务更换密钥
- getPublicKey() - 类 中的方法com.ms.tools.security.encryption.key.DsaKey
-
获取密钥
- getPublicKey() - 类 中的方法com.ms.tools.security.encryption.key.GenerateKeyPair
-
- getPublicKey() - 类 中的方法com.ms.tools.security.encryption.key.JJWTKey
-
获取密钥
- getPublicKey() - 类 中的方法com.ms.tools.security.encryption.key.RsaKey
-
获取密钥
- getPublicKey() - 类 中的静态方法com.ms.tools.security.encryption.rsa.RSA
-
获取密钥
密钥单例维护,每次部署全局唯一 重启服务更换密钥
- getPublicKeyLength(String) - 类 中的方法com.ms.tools.security.encryption.rsa.RSA
-
获取密钥加密长度
默认加密长度2048
-1表示读取密钥失败
- getPublicKeyStr() - 类 中的方法com.ms.tools.security.encryption.key.DsaKey
-
获取密钥
- getPublicKeyStr() - 类 中的方法com.ms.tools.security.encryption.key.JJWTKey
-
获取密钥
- getPublicKeyStr() - 类 中的方法com.ms.tools.security.encryption.key.RsaKey
-
获取密钥
- getQRCodeParameter(String, String, String) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
二维码参数
- getQRCodeUrl(String, String, String) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
获取二维码链接
https://api.qrserver.com/v1/create-qr-code 提供服务
- getQRCodeUrl(String, String, String, Integer) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
获取二维码链接
https://api.qrserver.com/v1/create-qr-code 提供服务
- getRsaKey() - 类 中的静态方法com.ms.tools.security.encryption.key.RsaKey
-
- getScratchCodes() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorKey
-
Get the list of scratch codes.
- getSecretBits() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns the number of bits of the secret keys to generate.
- getSecretKey(String) - 接口 中的方法com.ms.tools.security.authenticator.factory.ICredentialRepository
-
根据用户识别码获取用户指定私钥
- getSecretKey(SignatureAlgorithm) - 类 中的静态方法com.ms.tools.security.jjwt.factory.JJWTFactory
-
获取密钥-对称加密
- getSecretKeyAsString(SignatureAlgorithm) - 类 中的静态方法com.ms.tools.security.jjwt.factory.JJWTFactory
-
获取密钥-对称加密
- getSecretKeyAsString(SecretKey) - 类 中的静态方法com.ms.tools.security.jjwt.factory.JJWTFactory
-
获取密钥-对称加密
- getSecretKeyByString(String) - 类 中的静态方法com.ms.tools.security.jjwt.factory.JJWTFactory
-
获取密钥-对称加密
- getTimeStepSizeInMillis() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns the time step size, in milliseconds, as specified by RFC 6238.
- getTotpCode(String) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
通过密钥获取当前验证码
- getTotpCode(String, Date) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
通过密钥获取指定时间验证码
- getTotpCode(String, long) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
通过密钥获取指定时间验证码
- getTotpCode(String) - 类 中的静态方法com.ms.tools.security.authenticator.GoogleAuthenticatorUtils
-
通过密钥获取当前验证码
- getTotpCode(String, Date) - 类 中的静态方法com.ms.tools.security.authenticator.GoogleAuthenticatorUtils
-
通过密钥获取指定时间验证码
- getTotpCode(String, long) - 类 中的静态方法com.ms.tools.security.authenticator.GoogleAuthenticatorUtils
-
通过密钥获取指定时间验证码
- getTotpCodeByUser(String) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
通过密钥获取当前验证码
- getTotpCodeByUser(String, Date) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
通过密钥获取指定时间验证码
- getTotpCodeByUser(String, long) - 类 中的方法com.ms.tools.security.authenticator.GoogleAuthenticatorSingleCase
-
通过密钥获取指定时间验证码
- getTotpPassword(String) - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
- getTotpPassword(String, long) - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
- getTotpPassword(String) - 接口 中的方法com.ms.tools.security.authenticator.factory.IGoogleAuthenticator
-
此方法生成当前的TOTP密码。
- getTotpPassword(String, long) - 接口 中的方法com.ms.tools.security.authenticator.factory.IGoogleAuthenticator
-
此方法在指定时间生成TOTP密码。
- getTotpPasswordOfUser(String) - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
- getTotpPasswordOfUser(String, long) - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
- getTotpPasswordOfUser(String) - 接口 中的方法com.ms.tools.security.authenticator.factory.IGoogleAuthenticator
-
此方法生成当前的TOTP密码。
- getTotpPasswordOfUser(String, long) - 接口 中的方法com.ms.tools.security.authenticator.factory.IGoogleAuthenticator
-
此方法在指定时间生成TOTP密码
- getVerificationCode() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorKey
-
Returns the verification code at time = 0 (the UNIX epoch).
- getWindowSize() - 类 中的方法com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
Returns an integer value representing the number of windows of size
timeStepSizeInMillis that are checked during the validation process,
to account for differences between the server and the client clocks.
- GoogleAuthenticator - com.ms.tools.security.authenticator.factory中的类
-
该类实现了RFC 6238(TOTP:基于时间的一次性密码算法)中描述的功能
并在其Google Authenticator应用程序中再次测试了Google对该算法的实现。
- GoogleAuthenticator() - 类 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
The constructor that uses the default config, random number algorithm, and random number algorithm provider.
- GoogleAuthenticator(GoogleAuthenticatorConfig) - 类 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
The constructor that allows a user to specify the config and uses the default randomNumberAlgorithm and randomNumberAlgorithmProvider.
- GoogleAuthenticator(String, String) - 类 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
The constructor that allows a user the randomNumberAlgorithm, the randomNumberAlgorithmProvider, and uses the default config.
- GoogleAuthenticator(GoogleAuthenticatorConfig, String, String) - 类 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticator
-
The constructor that allows a user to specify the config, the randomNumberAlgorithm, and the randomNumberAlgorithmProvider.
- GoogleAuthenticatorConfig - com.ms.tools.security.authenticator.factory中的类
-
- GoogleAuthenticatorConfig() - 类 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig
-
- GoogleAuthenticatorConfig.GoogleAuthenticatorConfigBuilder - com.ms.tools.security.authenticator.factory中的类
-
- GoogleAuthenticatorConfigBuilder() - 类 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticatorConfig.GoogleAuthenticatorConfigBuilder
-
- GoogleAuthenticatorException - com.ms.tools.security.authenticator.factory中的异常错误
-
Date: 12/02/14
Time: 13:36
- GoogleAuthenticatorException(String) - 异常错误 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticatorException
-
Builds an exception with the provided error message.
- GoogleAuthenticatorException(String, Throwable) - 异常错误 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticatorException
-
Builds an exception with the provided error mesasge and
the provided cuase.
- GoogleAuthenticatorKey - com.ms.tools.security.authenticator.factory中的类
-
This class is a JavaBean used by the GoogleAuthenticator library to represent
a secret key.
- GoogleAuthenticatorKey.Builder - com.ms.tools.security.authenticator.factory中的类
-
- GoogleAuthenticatorQRGenerator - com.ms.tools.security.authenticator.factory中的类
-
This class provides helper methods to create a QR code containing the
provided credential.
- GoogleAuthenticatorQRGenerator() - 类 的构造器com.ms.tools.security.authenticator.factory.GoogleAuthenticatorQRGenerator
-
- GoogleAuthenticatorSingleCase - com.ms.tools.security.authenticator中的类
-
单例维护-用户快速构建
- GoogleAuthenticatorUtils - com.ms.tools.security.authenticator中的类
-
快捷工具
- GoogleAuthenticatorUtils() - 类 的构造器com.ms.tools.security.authenticator.GoogleAuthenticatorUtils
-