diff options
author | Roberto Tyley <roberto.tyley@gmail.com> | 2014-07-15 01:38:01 +0400 |
---|---|---|
committer | Roberto Tyley <roberto.tyley@gmail.com> | 2014-07-26 11:23:17 +0400 |
commit | 7cb752aaf746dc0b473afeb9e892b7fbc12666c5 (patch) | |
tree | cc4f91ddc18332b5adbe82e3fcb040d976c90105 /core/src/test/java/org/bouncycastle/asn1/test/ESSCertIDv2UnitTest.java | |
parent | 551830f8ea5177042af2c7dd1fc90888bc67387d (diff) |
Execute become-spongy.sh
https://github.com/rtyley/spongycastle/blob/3040af/become-spongy.sh
Diffstat (limited to 'core/src/test/java/org/bouncycastle/asn1/test/ESSCertIDv2UnitTest.java')
-rw-r--r-- | core/src/test/java/org/bouncycastle/asn1/test/ESSCertIDv2UnitTest.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/core/src/test/java/org/bouncycastle/asn1/test/ESSCertIDv2UnitTest.java b/core/src/test/java/org/bouncycastle/asn1/test/ESSCertIDv2UnitTest.java deleted file mode 100644 index e8978cad..00000000 --- a/core/src/test/java/org/bouncycastle/asn1/test/ESSCertIDv2UnitTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.bouncycastle.asn1.test; - -import org.bouncycastle.asn1.ASN1Primitive; -import org.bouncycastle.asn1.ess.ESSCertIDv2; -import org.bouncycastle.asn1.nist.NISTObjectIdentifiers; -import org.bouncycastle.asn1.x509.AlgorithmIdentifier; - -public class ESSCertIDv2UnitTest - extends ASN1UnitTest -{ - public String getName() - { - return "ESSCertIDv2"; - } - - public void performTest() - throws Exception - { - // check getInstance on default algorithm. - byte[] digest = new byte [256]; - ESSCertIDv2 essCertIdv2 = new ESSCertIDv2(new AlgorithmIdentifier( - NISTObjectIdentifiers.id_sha256), digest); - ASN1Primitive asn1Object = essCertIdv2.toASN1Primitive(); - - ESSCertIDv2.getInstance(asn1Object); - } - - public static void main( - String[] args) - { - runTest(new ESSCertIDv2UnitTest()); - } -}
\ No newline at end of file |