docs: @SuppressWarnings("unchecked")
      @CheckForNull
      protected PRIV getPrivateKey() {
          KeyPair keyPair = getKeyPair();
          return keyPair == null ? null : (PRIV) keyPair.getPrivate();
      }