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
path: root/jce
diff options
context:
space:
mode:
authorRoberto Tyley <roberto.tyley@gmail.com>2014-07-15 01:38:01 +0400
committerRoberto Tyley <roberto.tyley@gmail.com>2014-07-26 11:23:17 +0400
commit7cb752aaf746dc0b473afeb9e892b7fbc12666c5 (patch)
treecc4f91ddc18332b5adbe82e3fcb040d976c90105 /jce
parent551830f8ea5177042af2c7dd1fc90888bc67387d (diff)
Execute become-spongy.sh
https://github.com/rtyley/spongycastle/blob/3040af/become-spongy.sh
Diffstat (limited to 'jce')
-rw-r--r--jce/src/main/java/javax/crypto/EncryptedPrivateKeyInfo.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/jce/src/main/java/javax/crypto/EncryptedPrivateKeyInfo.java b/jce/src/main/java/javax/crypto/EncryptedPrivateKeyInfo.java
index 283b46bc..19f22ebe 100644
--- a/jce/src/main/java/javax/crypto/EncryptedPrivateKeyInfo.java
+++ b/jce/src/main/java/javax/crypto/EncryptedPrivateKeyInfo.java
@@ -5,11 +5,11 @@ import java.io.*;
import java.security.*;
import java.security.spec.*;
-import org.bouncycastle.asn1.ASN1InputStream;
-import org.bouncycastle.asn1.DEROutputStream;
-import org.bouncycastle.asn1.ASN1Sequence;
-import org.bouncycastle.asn1.DERObjectIdentifier;
-import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
+import org.spongycastle.asn1.ASN1InputStream;
+import org.spongycastle.asn1.DEROutputStream;
+import org.spongycastle.asn1.ASN1Sequence;
+import org.spongycastle.asn1.DERObjectIdentifier;
+import org.spongycastle.asn1.x509.AlgorithmIdentifier;
/**
* This class implements the <code>EncryptedPrivateKeyInfo</code> type
@@ -28,7 +28,7 @@ import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
*/
public class EncryptedPrivateKeyInfo
{
- private org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo infoObj;
+ private org.spongycastle.asn1.pkcs.EncryptedPrivateKeyInfo infoObj;
private AlgorithmParameters algP;
/*
@@ -51,7 +51,7 @@ public class EncryptedPrivateKeyInfo
ByteArrayInputStream bIn = new ByteArrayInputStream(encoded);
ASN1InputStream dIn = new ASN1InputStream(bIn);
- infoObj = org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getInstance((ASN1Sequence)dIn.readObject());
+ infoObj = org.spongycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getInstance((ASN1Sequence)dIn.readObject());
try
{
@@ -88,9 +88,9 @@ public class EncryptedPrivateKeyInfo
throw new NullPointerException("parameters null");
}
- org.bouncycastle.asn1.x509.AlgorithmIdentifier kAlgId = new AlgorithmIdentifier(new DERObjectIdentifier(algName), null);
+ org.spongycastle.asn1.x509.AlgorithmIdentifier kAlgId = new AlgorithmIdentifier(new DERObjectIdentifier(algName), null);
- infoObj = new org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo(kAlgId, (byte[])encryptedData.clone());
+ infoObj = new org.spongycastle.asn1.pkcs.EncryptedPrivateKeyInfo(kAlgId, (byte[])encryptedData.clone());
algP = this.getParameters();
}
@@ -120,7 +120,7 @@ public class EncryptedPrivateKeyInfo
throw new NullPointerException("parameters null");
}
- org.bouncycastle.asn1.x509.AlgorithmIdentifier kAlgId = null;
+ org.spongycastle.asn1.x509.AlgorithmIdentifier kAlgId = null;
try
{
@@ -135,7 +135,7 @@ public class EncryptedPrivateKeyInfo
throw new IllegalArgumentException("error in encoding: " + e.toString());
}
- infoObj = new org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo(kAlgId, (byte[])encryptedData.clone());
+ infoObj = new org.spongycastle.asn1.pkcs.EncryptedPrivateKeyInfo(kAlgId, (byte[])encryptedData.clone());
algP = this.getParameters();
}