/// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeBool(_amInitiator);
     _serializer.SerializeEmberCertificateData(_partnerCertificate);
     _serializer.SerializeEmberPublicKeyData(_partnerEphemeralPublicKey);
     return(_serializer.GetPayload());
 }
Пример #2
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberPublicKeyData(_caCert);
     _serializer.SerializeEmberCertificateData(_myCert);
     _serializer.SerializeEmberPrivateKeyData(_myKey);
     return(_serializer.GetPayload());
 }