public enum CertAlgorithmTypeEnum extends Enum<CertAlgorithmTypeEnum>
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付等常用的支付方式以及各种常用的接口。
不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
IJPay 交流群: 723992875、864988890
Node.js 版: https://gitee.com/javen205/TNWX
获取微信平台证书算法类型枚举
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getCertSuffixUrl(CertAlgorithmTypeEnum typeEnum)
获取证书地址后缀
|
static String |
getCertSuffixUrl(String code)
获取证书地址后缀
|
static String |
getCertUrl(WxDomainEnum domainEnum,
CertAlgorithmTypeEnum typeEnum)
获取证书地址
|
String |
getCode() |
String |
getName() |
static CertAlgorithmTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CertAlgorithmTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CertAlgorithmTypeEnum SM2
public static final CertAlgorithmTypeEnum RSA
public static final CertAlgorithmTypeEnum ALL
public static final CertAlgorithmTypeEnum NONE
public static CertAlgorithmTypeEnum[] values()
for (CertAlgorithmTypeEnum c : CertAlgorithmTypeEnum.values()) System.out.println(c);
public static CertAlgorithmTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getCode()
public String getName()
public static String getCertUrl(WxDomainEnum domainEnum, CertAlgorithmTypeEnum typeEnum)
domainEnum - 域名枚举typeEnum - 算法类型枚举public static String getCertSuffixUrl(String code)
code - 算法类型public static String getCertSuffixUrl(CertAlgorithmTypeEnum typeEnum)
typeEnum - 算法类型Copyright © 2023. All rights reserved.