| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,8 +9,8 @@ | |||
| 9 | 9 | import org.bouncycastle.asn1.DEROctetString; | |
| 10 | 10 | import org.bouncycastle.asn1.DERSequence; | |
| 11 | 11 | import org.bouncycastle.asn1.DERTaggedObject; | |
| 12 | - import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; | ||
| 13 | 12 | import org.bouncycastle.asn1.x509.AlgorithmIdentifier; | |
| 13 | + import org.bouncycastle.internal.asn1.oiw.OIWObjectIdentifiers; | ||
| 14 | 14 | ||
| 15 | 15 | public class RSAESOAEPparams | |
| 16 | 16 | extends ASN1Object | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,8 +11,8 @@ | |||
| 11 | 11 | import org.bouncycastle.asn1.DERNull; | |
| 12 | 12 | import org.bouncycastle.asn1.DERSequence; | |
| 13 | 13 | import org.bouncycastle.asn1.DERTaggedObject; | |
| 14 | - import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; | ||
| 15 | 14 | import org.bouncycastle.asn1.x509.AlgorithmIdentifier; | |
| 15 | + import org.bouncycastle.internal.asn1.oiw.OIWObjectIdentifiers; | ||
| 16 | 16 | ||
| 17 | 17 | public class RSASSAPSSparams | |
| 18 | 18 | extends ASN1Object | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,13 +5,13 @@ | |||
| 5 | 5 | ||
| 6 | 6 | import org.bouncycastle.asn1.ASN1ObjectIdentifier; | |
| 7 | 7 | import org.bouncycastle.asn1.anssi.ANSSINamedCurves; | |
| 8 | - import org.bouncycastle.asn1.cryptlib.CryptlibObjectIdentifiers; | ||
| 9 | 8 | import org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves; | |
| 10 | 9 | import org.bouncycastle.asn1.gm.GMNamedCurves; | |
| 11 | 10 | import org.bouncycastle.asn1.nist.NISTNamedCurves; | |
| 12 | 11 | import org.bouncycastle.asn1.sec.SECNamedCurves; | |
| 13 | 12 | import org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves; | |
| 14 | 13 | import org.bouncycastle.crypto.ec.CustomNamedCurves; | |
| 14 | + import org.bouncycastle.internal.asn1.cryptlib.CryptlibObjectIdentifiers; | ||
| 15 | 15 | ||
| 16 | 16 | /** | |
| 17 | 17 | * A general class that reads all X9.62 style EC curve tables. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,12 +6,12 @@ | |||
| 6 | 6 | import java.util.Vector; | |
| 7 | 7 | ||
| 8 | 8 | import org.bouncycastle.asn1.ASN1ObjectIdentifier; | |
| 9 | - import org.bouncycastle.asn1.cryptlib.CryptlibObjectIdentifiers; | ||
| 10 | 9 | import org.bouncycastle.asn1.gm.GMObjectIdentifiers; | |
| 11 | 10 | import org.bouncycastle.asn1.sec.SECObjectIdentifiers; | |
| 12 | 11 | import org.bouncycastle.asn1.x9.X9ECParameters; | |
| 13 | 12 | import org.bouncycastle.asn1.x9.X9ECParametersHolder; | |
| 14 | 13 | import org.bouncycastle.asn1.x9.X9ECPoint; | |
| 14 | + import org.bouncycastle.internal.asn1.cryptlib.CryptlibObjectIdentifiers; | ||
| 15 | 15 | import org.bouncycastle.math.ec.ECCurve; | |
| 16 | 16 | import org.bouncycastle.math.ec.WNafUtil; | |
| 17 | 17 | import org.bouncycastle.math.ec.custom.djb.Curve25519; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,16 +5,16 @@ | |||
| 5 | 5 | import org.bouncycastle.asn1.ASN1ObjectIdentifier; | |
| 6 | 6 | import org.bouncycastle.asn1.DERNull; | |
| 7 | 7 | import org.bouncycastle.asn1.DEROctetString; | |
| 8 | - import org.bouncycastle.internal.asn1.cms.CCMParameters; | ||
| 9 | - import org.bouncycastle.internal.asn1.cms.GCMParameters; | ||
| 10 | 8 | import org.bouncycastle.asn1.kisa.KISAObjectIdentifiers; | |
| 11 | 9 | import org.bouncycastle.asn1.misc.CAST5CBCParameters; | |
| 12 | 10 | import org.bouncycastle.asn1.nist.NISTObjectIdentifiers; | |
| 13 | 11 | import org.bouncycastle.asn1.ntt.NTTObjectIdentifiers; | |
| 14 | - import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; | ||
| 15 | 12 | import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; | |
| 16 | 13 | import org.bouncycastle.asn1.pkcs.RC2CBCParameter; | |
| 17 | 14 | import org.bouncycastle.asn1.x509.AlgorithmIdentifier; | |
| 15 | + import org.bouncycastle.internal.asn1.cms.CCMParameters; | ||
| 16 | + import org.bouncycastle.internal.asn1.cms.GCMParameters; | ||
| 17 | + import org.bouncycastle.internal.asn1.oiw.OIWObjectIdentifiers; | ||
| 18 | 18 | ||
| 19 | 19 | /** | |
| 20 | 20 | * Factory methods for common AlgorithmIdentifiers. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,6 @@ | |||
| 11 | 11 | import org.bouncycastle.asn1.misc.MiscObjectIdentifiers; | |
| 12 | 12 | import org.bouncycastle.asn1.nist.NISTObjectIdentifiers; | |
| 13 | 13 | import org.bouncycastle.asn1.ntt.NTTObjectIdentifiers; | |
| 14 | - import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; | ||
| 15 | 14 | import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; | |
| 16 | 15 | import org.bouncycastle.asn1.pkcs.RC2CBCParameter; | |
| 17 | 16 | import org.bouncycastle.asn1.x509.AlgorithmIdentifier; | |
@@ -38,6 +37,7 @@ | |||
| 38 | 37 | import org.bouncycastle.crypto.params.RC2Parameters; | |
| 39 | 38 | import org.bouncycastle.internal.asn1.cms.CCMParameters; | |
| 40 | 39 | import org.bouncycastle.internal.asn1.cms.GCMParameters; | |
| 40 | + import org.bouncycastle.internal.asn1.oiw.OIWObjectIdentifiers; | ||
| 41 | 41 | ||
| 42 | 42 | /** | |
| 43 | 43 | * Factory methods for creating Cipher objects and CipherOutputStreams. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,12 +6,12 @@ | |||
| 6 | 6 | import org.bouncycastle.asn1.kisa.KISAObjectIdentifiers; | |
| 7 | 7 | import org.bouncycastle.asn1.nist.NISTObjectIdentifiers; | |
| 8 | 8 | import org.bouncycastle.asn1.ntt.NTTObjectIdentifiers; | |
| 9 | - import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; | ||
| 10 | 9 | import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; | |
| 11 | 10 | import org.bouncycastle.crypto.CipherKeyGenerator; | |
| 12 | 11 | import org.bouncycastle.crypto.KeyGenerationParameters; | |
| 13 | 12 | import org.bouncycastle.crypto.generators.DESKeyGenerator; | |
| 14 | 13 | import org.bouncycastle.crypto.generators.DESedeKeyGenerator; | |
| 14 | + import org.bouncycastle.internal.asn1.oiw.OIWObjectIdentifiers; | ||
| 15 | 15 | ||
| 16 | 16 | /** | |
| 17 | 17 | * Factory methods for generating secret key generators for symmetric ciphers. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,8 +15,6 @@ | |||
| 15 | 15 | import org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves; | |
| 16 | 16 | import org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters; | |
| 17 | 17 | import org.bouncycastle.asn1.edec.EdECObjectIdentifiers; | |
| 18 | - import org.bouncycastle.asn1.oiw.ElGamalParameter; | ||
| 19 | - import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; | ||
| 20 | 18 | import org.bouncycastle.asn1.pkcs.DHParameter; | |
| 21 | 19 | import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; | |
| 22 | 20 | import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; | |
@@ -47,6 +45,8 @@ | |||
| 47 | 45 | import org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters; | |
| 48 | 46 | import org.bouncycastle.crypto.params.X25519PrivateKeyParameters; | |
| 49 | 47 | import org.bouncycastle.crypto.params.X448PrivateKeyParameters; | |
| 48 | + import org.bouncycastle.internal.asn1.oiw.ElGamalParameter; | ||
| 49 | + import org.bouncycastle.internal.asn1.oiw.OIWObjectIdentifiers; | ||
| 50 | 50 | import org.bouncycastle.util.Arrays; | |
| 51 | 51 | ||
| 52 | 52 | /** | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,8 +18,6 @@ | |||
| 18 | 18 | import org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves; | |
| 19 | 19 | import org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters; | |
| 20 | 20 | import org.bouncycastle.asn1.edec.EdECObjectIdentifiers; | |
| 21 | - import org.bouncycastle.asn1.oiw.ElGamalParameter; | ||
| 22 | - import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers; | ||
| 23 | 21 | import org.bouncycastle.asn1.pkcs.DHParameter; | |
| 24 | 22 | import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; | |
| 25 | 23 | import org.bouncycastle.asn1.pkcs.RSAPublicKey; | |
@@ -61,6 +59,8 @@ | |||
| 61 | 59 | import org.bouncycastle.crypto.params.RSAKeyParameters; | |
| 62 | 60 | import org.bouncycastle.crypto.params.X25519PublicKeyParameters; | |
| 63 | 61 | import org.bouncycastle.crypto.params.X448PublicKeyParameters; | |
| 62 | + import org.bouncycastle.internal.asn1.oiw.ElGamalParameter; | ||
| 63 | + import org.bouncycastle.internal.asn1.oiw.OIWObjectIdentifiers; | ||
| 64 | 64 | import org.bouncycastle.math.ec.ECCurve; | |
| 65 | 65 | import org.bouncycastle.math.ec.ECPoint; | |
| 66 | 66 | import org.bouncycastle.util.Arrays; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,12 @@ | |||
| 1 | + package org.bouncycastle.internal.asn1.cryptlib; | ||
| 2 | + | ||
| 3 | + import org.bouncycastle.asn1.ASN1ObjectIdentifier; | ||
| 4 | + | ||
| 5 | + public class CryptlibObjectIdentifiers | ||
| 6 | + { | ||
| 7 | + public static final ASN1ObjectIdentifier cryptlib = new ASN1ObjectIdentifier("1.3.6.1.4.1.3029"); | ||
| 8 | + | ||
| 9 | + public static final ASN1ObjectIdentifier ecc = cryptlib.branch("1").branch("5"); | ||
| 10 | + | ||
| 11 | + public static final ASN1ObjectIdentifier curvey25519 = ecc.branch("1"); | ||
| 12 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments