copyPublicKey() Declarationoptional func copyPublicKey() -> SecKey DiscussionReturns a copy of the public key for the keypair.