CertificateType Class

public class CertificateType extends ExpandableStringEnum

Defines values for certificate types.

Field Summary

Modifier and Type Field and Description
final CertificateType ASYMMETRIC_X509_CERT

Static value AsymmetricX509Cert for CertificateType.

final CertificateType SYMMETRIC

Static value Symmetric for CertificateType.

Method Summary

Modifier and Type Method and Description
CertificateType fromString(String name)

Finds or creates a certificate type instance based on the specified name.

Collection<CertificateType> values()

Inherited Members

Field Details

ASYMMETRIC_X509_CERT

public static final CertificateType ASYMMETRIC_X509_CERT= CertificateType.fromString("AsymmetricX509Cert")

Static value AsymmetricX509Cert for CertificateType.

SYMMETRIC

public static final CertificateType SYMMETRIC= CertificateType.fromString("Symmetric")

Static value Symmetric for CertificateType.

Method Details

fromString

public static CertificateType fromString(String name)

Finds or creates a certificate type instance based on the specified name.

Parameters:

name - a name

Returns:

a CertificateType instance

values

public static Collection values()

Returns:

known certificate types

Applies to