コード例 #1
0
        public override void Read(Util.DataDeserializer reader)
        {
            base.Read(reader);
            var size = reader.ReadShort();

            Book.Capacity = size;
            for (short i = 0; i < size; ++i)
            {
                var r = new PublicKeyBookRecord();
                r.Purpose   = (KeyPurpose)reader.ReadShort();
                r.PublicKey = reader.ReadContent <ECDSAPublicKey>();
                Book.Add(r);
            }
            Signature = reader.ReadBin();
        }
コード例 #2
0
 public override void Read(Util.DataDeserializer reader)
 {
     base.Read(reader);
     IV         = reader.ReadBin((int)IV_size);
     CipherText = reader.ReadBin();
 }
コード例 #3
0
 public override void Read(Util.DataDeserializer reader)
 {
     base.Read(reader);
     PictureId = reader.ReadShortString();
     Key       = reader.ReadBin();
 }
コード例 #4
0
 public override void Read(Util.DataDeserializer reader)
 {
     base.Read(reader);
     PrivateKeyData = reader.ReadBin(32);
 }
コード例 #5
0
 public override void Read(Util.DataDeserializer reader)
 {
     base.Read(reader);
     PublicKeyData = reader.ReadBin(65);
 }