From daf99deac3c80520fdbe5a4b0e5b61c949e2775e Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 4 Sep 2010 09:59:42 +0000 Subject: [PATCH] Sending AES encrypted cards is optional, not mandatory, since there is not always a secret available. --- docs/pokerth.asn1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/pokerth.asn1 b/docs/pokerth.asn1 index 6d7f75e5..7b342aa6 100644 --- a/docs/pokerth.asn1 +++ b/docs/pokerth.asn1 @@ -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) }