openssh_key.key_params.cert.CertOptionNameAndValidPrincipalTypes

class openssh_key.key_params.cert.CertOptionNameAndValidPrincipalTypes(name: str, valid_principal_types: List[openssh_key.key_params.cert.CertPrincipalType])

Bases: NamedTuple

A certificate option’s name and the types of certificate principals for which this certificate option is valid.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

name

The certificate option's name.

valid_principal_types

The types of certificate principals for which this certificate option is valid.

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

name: str

The certificate option’s name.

valid_principal_types: List[openssh_key.key_params.cert.CertPrincipalType]

The types of certificate principals for which this certificate option is valid.