internal override void ToNet(Marshaller m)
{
if (Algorithm == TpmAlgId.Xor)
{
Globs.Throw<NotImplementedException>("SymDefObject.ToNet: XOR is not supported");
}
m.Put(Algorithm, "algorithm");
if (Algorithm == TpmAlgId.None || Algorithm == TpmAlgId.Null)
{
return;
}
m.Put(KeyBits, "keyBits");
m.Put(Mode, "mode");
}