Public Key
A bitcoin public key (in compressed form). A public key is valid if it represents a point on the secp256k1 curve. The validity of this public key is not checked by default, because when you create a public key from a private key it will always be valid. However, if you receive a public key from an external, untrusted source, you should call isValid() before actually using it.