from _typeshed import Incomplete

from authlib.jose.rfc7517 import Key

POSSIBLE_UNSAFE_KEYS: Incomplete

class OctKey(Key):
    kty: str
    REQUIRED_JSON_FIELDS: Incomplete
    raw_key: Incomplete
    def __init__(self, raw_key: Incomplete | None = None, options: Incomplete | None = None) -> None: ...
    @property
    def public_only(self): ...
    def get_op_key(self, operation): ...
    def load_raw_key(self) -> None: ...
    def load_dict_key(self) -> None: ...
    def as_dict(self, is_private: bool = False, **params): ...
    @classmethod
    def validate_raw_key(cls, key): ...
    @classmethod
    def import_key(cls, raw, options: Incomplete | None = None): ...
    @classmethod
    def generate_key(cls, key_size: int = 256, options: Incomplete | None = None, is_private: bool = True): ...
