openssh_key.key_params.factory.PublicPrivateKeyParamsClasses

class openssh_key.key_params.factory.PublicPrivateKeyParamsClasses(publicKeyParamsClass: Type[openssh_key.key_params.common.PublicKeyParams], privateKeyParamsClass: Optional[Type[openssh_key.key_params.common.PrivateKeyParams]])

Bases: NamedTuple

A public key class and its corresponding private key class.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

privateKeyParamsClass

The private key class, if any.

publicKeyParamsClass

The public key class.

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.

privateKeyParamsClass: Optional[Type[openssh_key.key_params.common.PrivateKeyParams]]

The private key class, if any.

publicKeyParamsClass: Type[openssh_key.key_params.common.PublicKeyParams]

The public key class.