Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2014-01-04 06:12:41 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2014-01-04 06:12:41 +0400
commitedddcb766dca890eb6eb52b35fdb38e350a426f7 (patch)
treeced4320777ceae1ab3c3a0b7cf480922c7ec2f87 /core/src/main/jdk1.1
parenta65ee18c49c5636b706ab56a0085da3b79a91e97 (diff)
Added constructor taking signed byte array.
Diffstat (limited to 'core/src/main/jdk1.1')
-rw-r--r--core/src/main/jdk1.1/org/bouncycastle/asn1/ASN1InputStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/jdk1.1/org/bouncycastle/asn1/ASN1InputStream.java b/core/src/main/jdk1.1/org/bouncycastle/asn1/ASN1InputStream.java
index cec37898..7c156266 100644
--- a/core/src/main/jdk1.1/org/bouncycastle/asn1/ASN1InputStream.java
+++ b/core/src/main/jdk1.1/org/bouncycastle/asn1/ASN1InputStream.java
@@ -438,7 +438,7 @@ public class ASN1InputStream
case IA5_STRING:
return new DERIA5String(defIn.toByteArray());
case INTEGER:
- return new ASN1Integer(defIn.toByteArray());
+ return new ASN1Integer(defIn.toByteArray(), false);
case NULL:
return DERNull.INSTANCE; // actual content is ignored (enforce 0 length?)
case NUMERIC_STRING: