/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 60 public class PrivateKeyInfo class 69 public static PrivateKeyInfo getInstance(ASN1TaggedObject obj, boolean explicit) in getInstance() 74 public static PrivateKeyInfo getInstance(Object obj) in getInstance() 76 if (obj instanceof PrivateKeyInfo) in getInstance() 78 return (PrivateKeyInfo)obj; in getInstance() 82 return new PrivateKeyInfo(ASN1Sequence.getInstance(obj)); in getInstance() 98 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 106 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 115 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 129 private PrivateKeyInfo(ASN1Sequence seq) in PrivateKeyInfo() method in PrivateKeyInfo
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 62 public class PrivateKeyInfo class 71 public static PrivateKeyInfo getInstance(ASN1TaggedObject obj, boolean explicit) in getInstance() 76 public static PrivateKeyInfo getInstance(Object obj) in getInstance() 78 if (obj instanceof PrivateKeyInfo) in getInstance() 80 return (PrivateKeyInfo)obj; in getInstance() 84 return new PrivateKeyInfo(ASN1Sequence.getInstance(obj)); in getInstance() 100 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 108 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 117 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 131 private PrivateKeyInfo(ASN1Sequence seq) in PrivateKeyInfo() method in PrivateKeyInfo
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 62 public class PrivateKeyInfo class 71 public static PrivateKeyInfo getInstance(ASN1TaggedObject obj, boolean explicit) in getInstance() 76 public static PrivateKeyInfo getInstance(Object obj) in getInstance() 78 if (obj instanceof PrivateKeyInfo) in getInstance() 80 return (PrivateKeyInfo)obj; in getInstance() 84 return new PrivateKeyInfo(ASN1Sequence.getInstance(obj)); in getInstance() 100 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 108 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 117 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo 131 private PrivateKeyInfo(ASN1Sequence seq) in PrivateKeyInfo() method in PrivateKeyInfo
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 5 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 51 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive()); in getEncodedPrivateKeyInfo() 61 public static byte[] getEncodedPrivateKeyInfo(PrivateKeyInfo info) in getEncodedPrivateKeyInfo()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 6 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 55 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive()); in getEncodedPrivateKeyInfo() 65 public static byte[] getEncodedPrivateKeyInfo(PrivateKeyInfo info) in getEncodedPrivateKeyInfo()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 6 import com.android.internal.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 55 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive()); in getEncodedPrivateKeyInfo() 65 public static byte[] getEncodedPrivateKeyInfo(PrivateKeyInfo info) in getEncodedPrivateKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEDHPrivateKey.java | 20 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 36 private PrivateKeyInfo info; 59 PrivateKeyInfo info) in JCEDHPrivateKey() 131 …PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dh… in getEncoded()
|
D | JDKDSAPrivateKey.java | 17 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 54 PrivateKeyInfo info) in JDKDSAPrivateKey() 96 …PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_d… in getEncoded()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/ |
D | JCEDHPrivateKey.java | 21 import com.android.internal.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 40 private PrivateKeyInfo info; 63 PrivateKeyInfo info) in JCEDHPrivateKey() 135 …PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dh… in getEncoded()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | JCEDHPrivateKey.java | 21 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 40 private PrivateKeyInfo info; 63 PrivateKeyInfo info) in JCEDHPrivateKey() 135 …PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dh… in getEncoded()
|
D | JDKDSAPrivateKey.java | 18 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 58 PrivateKeyInfo info) in JDKDSAPrivateKey() 100 …PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_d… in getEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | BCDHPrivateKey.java | 20 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 42 private transient PrivateKeyInfo info; 73 PrivateKeyInfo info) in BCDHPrivateKey() 153 PrivateKeyInfo info; in getEncoded() 163 …info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.dhpublicnumber, new DomainPa… in getEncoded() 167 …info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHPara… in getEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
D | CompositePrivateKey.java | 13 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 70 v.add(PrivateKeyInfo.getInstance(keys.get(i).getEncoded())); in getEncoded() 75 return new PrivateKeyInfo( in getEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PrivateKeyFactory.java | 23 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 71 … return createKey(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(privateKeyInfoData))); in createKey() 85 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey() 95 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) in createKey() 297 private static byte[] getRawKey(PrivateKeyInfo keyInfo, int expectedSize) in getRawKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/ |
D | CompositePrivateKey.java | 14 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 72 v.add(PrivateKeyInfo.getInstance(keys.get(i).getEncoded())); in getEncoded() 77 return new PrivateKeyInfo( in getEncoded()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/ |
D | CompositePrivateKey.java | 14 import com.android.internal.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 72 v.add(PrivateKeyInfo.getInstance(keys.get(i).getEncoded())); in getEncoded() 77 return new PrivateKeyInfo( in getEncoded()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 14 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 33 … PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 13 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 29 … PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | BCDHPrivateKey.java | 21 import com.android.internal.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 46 private transient PrivateKeyInfo info; 77 PrivateKeyInfo info) in BCDHPrivateKey() 157 PrivateKeyInfo info; in getEncoded() 167 …info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.dhpublicnumber, new DomainPa… in getEncoded() 171 …info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHPara… in getEncoded()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | BCDHPrivateKey.java | 21 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 46 private transient PrivateKeyInfo info; 77 PrivateKeyInfo info) in BCDHPrivateKey() 157 PrivateKeyInfo info; in getEncoded() 167 …info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.dhpublicnumber, new DomainPa… in getEncoded() 171 …info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHPara… in getEncoded()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 14 import com.android.internal.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 33 … PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | AsymmetricKeyInfoConverter.java | 7 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/ |
D | PrivateKeyFactory.java | 24 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 73 … return createKey(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(privateKeyInfoData))); in createKey() 87 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey() 97 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) in createKey() 299 private static byte[] getRawKey(PrivateKeyInfo keyInfo, int expectedSize) in getRawKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/ |
D | AsymmetricKeyInfoConverter.java | 8 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo; 16 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
|
/external/python/asn1crypto/tests/ |
D | test_keys.py | 245 key_info = keys.PrivateKeyInfo.load(f.read()) 310 key_info = keys.PrivateKeyInfo.load(f.read()) 476 private_key = keys.PrivateKeyInfo.load(f.read()) 486 private_key = keys.PrivateKeyInfo.load(f.read()) 522 private_key = keys.PrivateKeyInfo.load(f.read()) 535 private_key = keys.PrivateKeyInfo.load(f.read()) 548 private_key = keys.PrivateKeyInfo.load(f.read()) 657 pki = keys.PrivateKeyInfo({
|