INNER CODE UNIT · Python

__repr__

AntonKueltz/fastecdsa · fastecdsa/curve.py:76

    def __repr__(self) -> str:
        return self.__str__()

    @classmethod
    def get_curve_by_oid(cls, oid: bytes) -> Optional[Curve]:
        r"""Get a curve via its object identifier.

        Args:
            oid (bytes): The object identifier for the curve.

        Returns:
            Curve | None: The curve corresponding to the object identifier. If the identifier does
            not correspond to a supported curve :code:`None` is returned.

        """
        return cls._oid_lookup.get(oid, None)

    def is_point_on_curve(self, point: Tuple[int, int]) -> bool:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…