Home
last modified time | relevance | path

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

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPrivateKeyInfo.java22 public class PrivateKeyInfo class
29 public static PrivateKeyInfo getInstance( in getInstance()
36 public static PrivateKeyInfo getInstance( in getInstance()
39 if (obj instanceof PrivateKeyInfo) in getInstance()
41 return (PrivateKeyInfo)obj; in getInstance()
45 return new PrivateKeyInfo(ASN1Sequence.getInstance(obj)); in getInstance()
51 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo
59 public PrivateKeyInfo( in PrivateKeyInfo() method in PrivateKeyInfo
74 public PrivateKeyInfo( 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()
DBaseCipherSpi.java27 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
180 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); in engineUnwrap()
DBaseKeyFactorySpi.java11 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
27 … return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate()
DECUtil.java15 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
209 … PrivateKey privateKey = BouncyCastleProvider.getPrivateKey(PrivateKeyInfo.getInstance(bytes)); in generatePrivateKeyParameter()
/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()
DJCEECPrivateKey.java26 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
192 PrivateKeyInfo info) in JCEECPrivateKey()
198 private void populateFromPrivKeyInfo(PrivateKeyInfo info) in populateFromPrivKeyInfo()
324 PrivateKeyInfo info; in getEncoded()
347 …info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, params.toASN… in getEncoded()
465 populateFromPrivKeyInfo(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(enc))); in readObject()
DBouncyCastleProvider.java13 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
304 public static PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo) in getPrivateKey()
DJCERSAPrivateCrtKey.java10 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
91 PrivateKeyInfo info) in JCERSAPrivateCrtKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java20 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
38 private transient PrivateKeyInfo info;
61 PrivateKeyInfo info) in BCDHPrivateKey()
133PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dh… in getEncoded()
DKeyFactorySpi.java18 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
91 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
/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/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/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java18 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
56 … return createKey(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(privateKeyInfoData))); in createKey()
69 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
79 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DBCECPrivateKey.java21 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
200 PrivateKeyInfo info, in BCECPrivateKey()
209 private void populateFromPrivKeyInfo(PrivateKeyInfo info) in populateFromPrivKeyInfo()
290 PrivateKeyInfo info; in getEncoded()
304 …info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, params), key… in getEncoded()
423 populateFromPrivKeyInfo(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(enc))); in readObject()
DKeyFactorySpi.java14 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
156 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyFactorySpi.java18 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
91 … return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate()
133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
DBCRSAPrivateCrtKey.java10 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
91 PrivateKeyInfo info) in BCRSAPrivateCrtKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyFactorySpi.java16 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
DBCDSAPrivateKey.java16 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
54 PrivateKeyInfo info) in BCDSAPrivateKey()
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dservice_account.py26 from pyasn1_modules.rfc5208 import PrivateKeyInfo
136 asn1_private_key, _ = decoder.decode(der, asn1Spec=PrivateKeyInfo())
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseWrapCipher.java31 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
366 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); in engineUnwrap()
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/
Dpkcs8dump.py23 asn1Spec = rfc5208.PrivateKeyInfo()
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
Drfc5208.py33 class PrivateKeyInfo(univ.Sequence): class

12