Home
last modified time | relevance | path

Searched refs:PrivateKeyInfo (Results 1 – 25 of 87) sorted by relevance

1234

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPrivateKeyInfo.java60 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/
DPrivateKeyInfo.java62 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/
DPrivateKeyInfo.java62 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/
DKeyUtil.java5 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/
DKeyUtil.java6 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/
DKeyUtil.java6 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/
DJCEDHPrivateKey.java20 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
36 private PrivateKeyInfo info;
59 PrivateKeyInfo info) in JCEDHPrivateKey()
131PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dh… in getEncoded()
DJDKDSAPrivateKey.java17 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
54 PrivateKeyInfo info) in JDKDSAPrivateKey()
96PrivateKeyInfo 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/
DJCEDHPrivateKey.java21 import com.android.internal.org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
40 private PrivateKeyInfo info;
63 PrivateKeyInfo info) in JCEDHPrivateKey()
135PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dh… in getEncoded()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DJCEDHPrivateKey.java21 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
40 private PrivateKeyInfo info;
63 PrivateKeyInfo info) in JCEDHPrivateKey()
135PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dh… in getEncoded()
DJDKDSAPrivateKey.java18 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
58 PrivateKeyInfo info) in JDKDSAPrivateKey()
100PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_d… in getEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java20 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/
DCompositePrivateKey.java13 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/
DPrivateKeyFactory.java23 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/
DCompositePrivateKey.java14 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/
DCompositePrivateKey.java14 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/
DKeyFactory.java14 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
33PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DKeyFactory.java13 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
29PrivateKeyInfo 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/
DBCDHPrivateKey.java21 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/
DBCDHPrivateKey.java21 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/
DKeyFactory.java14 import com.android.internal.org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
33PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DAsymmetricKeyInfoConverter.java7 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/
DPrivateKeyFactory.java24 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/
DAsymmetricKeyInfoConverter.java8 import com.android.org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
16 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
/external/python/asn1crypto/tests/
Dtest_keys.py245 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({

1234