code: public void marshalling(Xdr xdr) {
          xdr.putInt(getCredentialFlavor()); // credential flavor
          xdr.putByteArray(getCredential()); // bytes of credentials
          xdr.putInt(getVerifierFlavor()); // verifier flavor
          xdr.putByteArray(getVerifier()); // bytes of verifier
      }
docs: /* (non-Javadoc)
  @see com.emc.ecs.nfsclient.rpc.Credential#marshalling(com.emc.ecs.nfsclient.rpc.Xdr)