private static ExposureKeySetSignatureContent Map(ExposureKeySetSignatureContentArgs args)
 => new ExposureKeySetSignatureContent
 {
     BatchNum      = args.BatchNum,
     BatchSize     = args.BatchSize,
     Signature     = args.Signature,
     SignatureInfo = Map(args.SignatureInfo)
 };
Exemple #2
0
        private static TEKSignature Map(ExposureKeySetSignatureContentArgs args)
        {
            var s = ByteString.CopyFrom(args.Signature);

            return(new TEKSignature
            {
                BatchNum = args.BatchNum,
                BatchSize = args.BatchSize,
                Signature = s,
                SignatureInfo = Map(args.SignatureInfo)
            });
        }