次の方法で共有


ProfileType Class

public final class ProfileType
extends ExpandableStringEnum<ProfileType>

Type of the certificate.

Field Summary

Modifier and Type Field and Description
static final ProfileType PRIVATE_TRUST

Used for signing files which are distributed internally within organization or group boundary.

static final ProfileType PRIVATE_TRUST_CIPOLICY

Used for signing CI policy files.

static final ProfileType PUBLIC_TRUST

Used for signing files which are distributed publicly.

static final ProfileType PUBLIC_TRUST_TEST

Used for signing files for testing purpose.

static final ProfileType VBSENCLAVE

Used for signing files which are run in secure vbs enclave.

Constructor Summary

Constructor Description
ProfileType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProfileType value.

Method Summary

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

Creates or finds a ProfileType from its string representation.

static Collection<ProfileType> values()

Gets known ProfileType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PRIVATE_TRUST

public static final ProfileType PRIVATE_TRUST

Used for signing files which are distributed internally within organization or group boundary.

PRIVATE_TRUST_CIPOLICY

public static final ProfileType PRIVATE_TRUST_CIPOLICY

Used for signing CI policy files.

PUBLIC_TRUST

public static final ProfileType PUBLIC_TRUST

Used for signing files which are distributed publicly.

PUBLIC_TRUST_TEST

public static final ProfileType PUBLIC_TRUST_TEST

Used for signing files for testing purpose.

VBSENCLAVE

public static final ProfileType VBSENCLAVE

Used for signing files which are run in secure vbs enclave.

Constructor Details

ProfileType

@Deprecated
public ProfileType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProfileType value.

Method Details

fromString

public static ProfileType fromString(String name)

Creates or finds a ProfileType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProfileType.

values

public static Collection<ProfileType> values()

Gets known ProfileType values.

Returns:

known ProfileType values.

Applies to