public enum SslCertType extends Enum<SslCertType>
| Modifier and Type | Method and Description |
|---|---|
static SslCertType |
from(String fileName)
根据文件名判断证书类型
|
String[] |
getFileExtensions() |
String |
getType() |
static SslCertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslCertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslCertType CRT
public static final SslCertType JKS
public static final SslCertType PKCS12
public static SslCertType[] values()
for (SslCertType c : SslCertType.values()) System.out.println(c);
public static SslCertType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getType()
public String[] getFileExtensions()
public static SslCertType from(String fileName)
fileName - fileNameCopyright © 2025. All rights reserved.