Adding new java based test cases.
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
|
||||
package pokerth_protocol;
|
||||
//
|
||||
// This file was generated by the BinaryNotes compiler.
|
||||
// See http://bnotes.sourceforge.net
|
||||
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
|
||||
//
|
||||
|
||||
import org.bn.*;
|
||||
import org.bn.annotations.*;
|
||||
import org.bn.annotations.constraints.*;
|
||||
import org.bn.coders.*;
|
||||
import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AuthClientResponse", isSet = false )
|
||||
public class AuthClientResponse implements IASN1PreparedElement {
|
||||
@ASN1OctetString( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 256L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "clientResponse", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private byte[] clientResponse = null;
|
||||
|
||||
|
||||
|
||||
public byte[] getClientResponse () {
|
||||
return this.clientResponse;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setClientResponse (byte[] value) {
|
||||
this.clientResponse = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AuthClientResponse.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user