pub fn from_proto_credential(proto: &NonceCredential) -> NonceCredential
将 protobuf 凭证转换为 nonce-auth 格式
proto
nonce-auth 格式的凭证,用于服务端验证