@Override
    public byte[] getEncoded() {
        return NativeCrypto.EVP_marshal_public_key(key.getNativeRef());
    }
An implementation of {@link java.security.PublicKey} for RSA keys which uses BoringSSL to
perform all the operations.
common/src/main/java/org/conscrypt/OpenSSLRSAPublicKey.java