def METHOD_NAME(self, algorithm: "KeyWrapAlgorithm", key: bytes) -> "WrapResult":
    self._raise_if_unsupported(KeyOperation.METHOD_NAME, algorithm)
    encrypted_key = self._internal_key.METHOD_NAME(key, algorithm=algorithm.value)
    return WrapResult(
        key_id=self._key.kid, algorithm=algorithm, encrypted_key=encrypted_key  # type: ignore[attr-defined]
    )