Sending AES encrypted cards is optional, not mandatory, since there is not always a secret available.

This commit is contained in:
lotodore
2010-09-04 09:59:42 +00:00
parent 45fd81f4a7
commit daf99deac3
+13 -1
View File
@@ -431,9 +431,21 @@ GameStartMessage ::= [APPLICATION 22] SEQUENCE {
playerSeats SEQUENCE SIZE(2..10) OF NonZeroId
}
PlainCards ::= SEQUENCE {
plainCard1 Card,
plainCard2 Card
}
EncryptedCards ::= SEQUENCE {
encryptedCards OCTET STRING (SIZE(16..64))
}
HandStartMessage ::= [APPLICATION 23] SEQUENCE {
gameId NonZeroId,
yourEncryptedCards OCTET STRING (SIZE(16)),
yourCards CHOICE {
plainCards [0] PlainCards,
encryptedCards [1] EncryptedCards
},
smallBlind INTEGER(1..20001)
}