Enum Class CertAlgorithmTypeEnum
- 所有已实现的接口:
Serializable,Comparable<CertAlgorithmTypeEnum>,Constable
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付等常用的支付方式以及各种常用的接口。
不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
IJPay 交流群: 723992875、864988890
Node.js 版: https://gitee.com/javen205/TNWX
获取微信平台证书算法类型枚举
- 作者:
- Javen
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量 -
方法概要
修饰符和类型方法说明static StringgetCertSuffixUrl(CertAlgorithmTypeEnum typeEnum) 获取证书地址后缀static StringgetCertSuffixUrl(String code) 获取证书地址后缀static StringgetCertUrl(WxDomainEnum domainEnum, CertAlgorithmTypeEnum typeEnum) 获取证书地址getCode()getName()static CertAlgorithmTypeEnumReturns the enum constant of this class with the specified name.static CertAlgorithmTypeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
SM2
国密算法的平台证书 -
RSA
RSA算法平台证书 -
ALL
所有类型的平台证书 -
NONE
默认RSA算法的平台证书
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getCode
-
getName
-
getCertUrl
获取证书地址- 参数:
domainEnum- 域名枚举typeEnum- 算法类型枚举- 返回:
- 返回结果
-
getCertSuffixUrl
获取证书地址后缀- 参数:
code- 算法类型- 返回:
- 返回结果
-
getCertSuffixUrl
获取证书地址后缀- 参数:
typeEnum- 算法类型- 返回:
- 返回结果
-