types

Reusable, annotated type aliases.

pydantic_cryptography.base.types.ObjectIdentifierType

A string that will convert ObjectIdentifier objects.

This type alias will also validate that the string is a valid dotted string.

alias of Annotated[str, BeforeValidator(func=oid_to_dotted_string_validator, json_schema_input_type=PydanticUndefined), AfterValidator(func=dotted_string_after_validator)]