public static enum PemEncoder.PemLabel extends Enum<PemEncoder.PemLabel>
| Enum Constant and Description |
|---|
ATTRIBUTE_CERTIFICATE
RFC 5755 AttributeCertificate.
|
CERTIFICATE
RFC5280 Certificate.
|
CERTIFICATE_REQUEST
RFC 2986 CertificationRequest.
|
CMS
RFC 5652 ContentInfo.
|
ENCRYPTED_PRIVATE_KEY
RFC 5958 EncryptedPrivateKeyInfo.
|
PKCS7
RFC 2315 ContentInfo.
|
PRIVATE_KEY
RFC 5208 PrivateKeyInfo / RFC 5958 OneAsymmetricKey.
|
PUBLIC_KEY
RFC 5280 SubjectPublicKeyInfo.
|
X509_CRL
RFC 5280 CertificateList.
|
| Modifier and Type | Method and Description |
|---|---|
static PemEncoder.PemLabel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PemEncoder.PemLabel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PemEncoder.PemLabel CERTIFICATE
public static final PemEncoder.PemLabel X509_CRL
public static final PemEncoder.PemLabel CERTIFICATE_REQUEST
public static final PemEncoder.PemLabel PKCS7
public static final PemEncoder.PemLabel CMS
public static final PemEncoder.PemLabel PRIVATE_KEY
public static final PemEncoder.PemLabel ENCRYPTED_PRIVATE_KEY
public static final PemEncoder.PemLabel ATTRIBUTE_CERTIFICATE
public static final PemEncoder.PemLabel PUBLIC_KEY
public static PemEncoder.PemLabel[] values()
for (PemEncoder.PemLabel c : PemEncoder.PemLabel.values()) System.out.println(c);
public static PemEncoder.PemLabel 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 nullCopyright © 2020. All rights reserved.