@staticmethod
def from_int(i):
    ' Generates a public key object from an integer.\n\n        Note:\n            This assumes that the upper 32 bytes of the integer\n            are the x component of the public key point and the\n            lower 32 bytes are the y component.\n\n        Args:\n            i (Bignum): A 512-bit integer representing the public\n               key point on the secp256k1 curve.\n\n        Returns:\n            PublicKey: A PublicKey object.\n        '
    point = ECPointAffine.from_int(bitcoin_curve, i)
    return PublicKey.from_point(point)
Generates a public key object from an integer.

Note:
    This assumes that the upper 32 bytes of the integer
    are the x component of the public key point and the
    lower 32 bytes are the y component.

Args:
    i (Bignum): A 512-bit integer representing the public
       key point on the secp256k1 curve.

Returns:
    PublicKey: A PublicKey object.
@staticmethod
def from_int(i):
    ' Generates a public key object from an integer.\n\n        Note:\n            This assumes that the upper 32 bytes of the integer\n            are the x component of the public key point and the\n            lower 32 bytes are the y component.\n\n        Args:\n            i (Bignum): A 512-bit integer representing the public\n               key point on the secp256k1 curve.\n\n        Returns:\n            PublicKey: A PublicKey object.\n        '
    point = ECPointAffine.from_int(bitcoin_curve, i)
    return PublicKey.from_point(point)