Code example for KeyPair

Methods: getPublic