CertificateContentType Class

public final class CertificateContentType
extends ExpandableStringEnum<CertificateContentType>

Content type of the certificate when the managed secret is downloaded using a SecretClient.

Field Summary

Modifier and Type Field and Description
static final CertificateContentType PEM

Static value PEM for CertificateContentType.

static final CertificateContentType PKCS12

Static value PKCS12 for CertificateContentType.

Constructor Summary

Constructor Description
CertificateContentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CertificateContentType value.

Method Summary

Modifier and Type Method and Description
static CertificateContentType fromString(String name)

Creates or finds a CertificateContentType from its string representation.

static Collection<CertificateContentType> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PEM

public static final CertificateContentType PEM

Static value PEM for CertificateContentType.

PKCS12

public static final CertificateContentType PKCS12

Static value PKCS12 for CertificateContentType.

Constructor Details

CertificateContentType

@Deprecated
public CertificateContentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CertificateContentType value.

Method Details

fromString

public static CertificateContentType fromString(String name)

Creates or finds a CertificateContentType from its string representation.

Parameters:

name - A name to look for.

Returns:

The corresponding CertificateContentType.

values

public static Collection values()

Returns:

Applies to