Package org.bouncycastle.asn1.test
Class ASN1IntegerTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.asn1.test.ASN1IntegerTest
- All Implemented Interfaces:
Test
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static void
void
void
void
void
void
void
void
void
void
void
void
void
Ensure existing single byte behavior.
-
Constructor Details
-
ASN1IntegerTest
public ASN1IntegerTest()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
performTest
- Specified by:
performTest
in classSimpleTest
- Throws:
Exception
-
testValidEncodingSingleByte
Ensure existing single byte behavior.- Throws:
Exception
-
testValidEncodingMultiByte
- Throws:
Exception
-
testInvalidEncoding_00
- Throws:
Exception
-
testInvalidEncoding_ff
- Throws:
Exception
-
testInvalidEncoding_00_32bits
- Throws:
Exception
-
testInvalidEncoding_ff_32bits
- Throws:
Exception
-
testLooseValidEncoding_zero_32BAligned
- Throws:
Exception
-
testLooseValidEncoding_FF_32BAligned
- Throws:
Exception
-
testLooseValidEncoding_FF_32BAligned_1not0
- Throws:
Exception
-
testLooseValidEncoding_FF_32BAligned_2not0
- Throws:
Exception
-
testOversizedEncoding
- Throws:
Exception
-
main
-