@SuppressFBWarnings("EI_EXPOSE_REP")
    @NonNull
    public ReplicatorConfiguration setPinnedServerCertificate(byte[] pinnedServerCertificate) {
        if (readonly) { throw new IllegalStateException("ReplicatorConfiguration is readonly mode."); }
        this.pinnedServerCertificate = pinnedServerCertificate;
        return getReplicatorConfiguration();
    }
@ SuppressFBWarnings ( "EI_EXPOSE_REP" ) @ NonNull public ReplicatorConfiguration setPinnedServerCertificate ( byte [ ] pinnedServerCertificate ) { if ( readonly ) { throw new IllegalStateException ( "ReplicatorConfiguration is readonly mode." ) ; } this . pinnedServerCertificate = pinnedServerCertificate ; return getReplicatorConfiguration ( ) ; }
Sets the target server's SSL certificate.
<p>
!!FIXME: This method stores a mutable array as private data

@param pinnedServerCertificate the SSL certificate.
@return The self object.