Interface SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeysOrBuilder (2.86.0)

public static interface SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeysOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRequiredApproverCount()

public abstract int getRequiredApproverCount()

Required. The required numbers of approvers to set for the SingleTenantHsmInstance. This is the M value used for M of N quorum auth. Must be greater than or equal to 2 and less than or equal to total_approver_count

  • 1.

int32 required_approver_count = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The requiredApproverCount.

getTwoFactorPublicKeyPems(int index)

public abstract String getTwoFactorPublicKeyPems(int index)

Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.

repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The twoFactorPublicKeyPems at the given index.

getTwoFactorPublicKeyPemsBytes(int index)

public abstract ByteString getTwoFactorPublicKeyPemsBytes(int index)

Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.

repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the twoFactorPublicKeyPems at the given index.

getTwoFactorPublicKeyPemsCount()

public abstract int getTwoFactorPublicKeyPemsCount()

Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.

repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of twoFactorPublicKeyPems.

getTwoFactorPublicKeyPemsList()

public abstract List<String> getTwoFactorPublicKeyPemsList()

Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.

repeated string two_factor_public_key_pems = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the twoFactorPublicKeyPems.