public SECPPublicKey getPublicKey() {
    return signatureAlgorithm.createPublicKey(
        ECPointUtil.getEncodedBytes(securityModule.getPublicKey().getW()));
  }
Gets public key.

@return the public key
crypto/services/src/main/java/org/hyperledger/besu/cryptoservices/NodeKey.java