aboutsummaryrefslogtreecommitdiff
path: root/src/test/model/pki/AlgorithmIdentifierTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/model/pki/AlgorithmIdentifierTest.java')
-rw-r--r--src/test/model/pki/AlgorithmIdentifierTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/model/pki/AlgorithmIdentifierTest.java b/src/test/model/pki/AlgorithmIdentifierTest.java
index 8bcc80e..cbd2e7c 100644
--- a/src/test/model/pki/AlgorithmIdentifierTest.java
+++ b/src/test/model/pki/AlgorithmIdentifierTest.java
@@ -72,12 +72,12 @@ public class AlgorithmIdentifierTest {
@Test
void testEncode() throws ParseException {
assertArrayEquals(new Byte[]{
- 0x30, 0x0D, // SEQUENCE AlgorithmIdentifier
- 0x06, 0x09, 0x2A, -122, 0x48, -122, -9, 0x0D, // OID (sha256WithRsaEncryption)
- 0x01, 0x01, 0x0B,
- 0x05, 0x00 // Null (Parameter)
- }, new AlgorithmIdentifier(
- ASN1Object.TAG_SEQUENCE, null,
+ 0x30, 0x0D, // SEQUENCE AlgorithmIdentifier
+ 0x06, 0x09, 0x2A, -122, 0x48, -122, -9, 0x0D, // OID (sha256WithRsaEncryption)
+ 0x01, 0x01, 0x0B,
+ 0x05, 0x00 // Null (Parameter)
+ }, new AlgorithmIdentifier(
+ ASN1Object.TAG_SEQUENCE, null,
new ObjectIdentifier(ObjectIdentifier.TAG, null, OID_SHA256_WITH_RSA_ENCRYPTION),
new Null(Null.TAG, null)).encodeDER());
}