Code example for PublicKey

Methods: getEncoded, getFormat