HomeSort by relevance Sort by last modified time
    Searched full:privatekeyinfo (Results 1 - 25 of 47) sorted by null

1 2

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
AsymmetricKeyInfoConverter.java 7 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PrivateKeyInfo.java 22 public class PrivateKeyInfo
29 public static PrivateKeyInfo getInstance(
36 public static PrivateKeyInfo getInstance(
39 if (obj instanceof PrivateKeyInfo)
41 return (PrivateKeyInfo)obj;
45 return new PrivateKeyInfo(ASN1Sequence.getInstance(obj));
51 public PrivateKeyInfo(
59 public PrivateKeyInfo(
71 * @deprecated use PrivateKeyInfo.getInstance()
74 public PrivateKeyInfo(
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
KeyUtil.java 5 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
51 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive());
61 public static byte[] getEncodedPrivateKeyInfo(PrivateKeyInfo info)
BaseKeyFactorySpi.java 11 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
27 return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()));
BaseCipherSpi.java 27 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
180 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PrivateKeyFactory.java 18 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
43 * Factory for creating private key objects from PKCS8 PrivateKeyInfo objects.
48 * Create a private key parameter from a PKCS8 PrivateKeyInfo encoding.
50 * @param privateKeyInfoData the PrivateKeyInfo encoding
56 return createKey(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(privateKeyInfoData)));
60 * Create a private key parameter from a PKCS8 PrivateKeyInfo encoding read from a
63 * @param inStr the stream to read the PrivateKeyInfo encoding from
69 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject()));
73 * Create a private key parameter from the passed in PKCS8 PrivateKeyInfo object.
75 * @param keyInfo the PrivateKeyInfo object containing the key materia
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCEDHPrivateKey.java 20 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
36 private PrivateKeyInfo info;
59 PrivateKeyInfo info)
118 * represents a full PrivateKeyInfo object.
131 PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL())), new ASN1Integer(getX()));
JDKDSAPrivateKey.java 17 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
54 PrivateKeyInfo info)
88 * represents a full PrivateKeyInfo object.
96 PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG())), new ASN1Integer(getX()));
JCEECPrivateKey.java 26 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
192 PrivateKeyInfo info)
198 private void populateFromPrivKeyInfo(PrivateKeyInfo info)
289 * represents a full PrivateKeyInfo object.
324 PrivateKeyInfo info;
341 // info = new PrivateKeyInfo(new AlgorithmIdentifier(CryptoProObjectIdentifiers.gostR3410_2001, params.toASN1Primitive()), keyStructure.toASN1Primitive());
347 info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, params.toASN1Primitive()), keyStructure.toASN1Primitive());
465 populateFromPrivKeyInfo(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(enc)));
BouncyCastleProvider.java 13 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
304 public static PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo)
307 AsymmetricKeyInfoConverter converter = (AsymmetricKeyInfoConverter)keyInfoConverters.get(privateKeyInfo.getPrivateKeyAlgorithm().getAlgorithm());
314 return converter.generatePrivate(privateKeyInfo);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java 13 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
29 PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded());
  /libcore/ojluni/src/main/java/java/security/spec/
PKCS8EncodedKeySpec.java 30 * encoded according to the ASN.1 type <code>PrivateKeyInfo</code>.
31 * The <code>PrivateKeyInfo</code> syntax is defined in the PKCS#8 standard
35 * PrivateKeyInfo ::= SEQUENCE {
  /external/libchrome/crypto/
rsa_private_key.h 32 // PKCS #8 PrivateKeyInfo and PublicKeyInfo.
48 // PrivateKeyInfo/PublicKeyInfo (which is always big-endian).
54 // of the PrivateKeyInfo structure to |output|.
65 // Parses the ASN.1 DER encoding of the PrivateKeyInfo structure in |input|
71 // Accessors to the contents of the integer components of the PrivateKeyInfo
147 // Read one of the two version fields in PrivateKeyInfo.
153 // Component integers of the PrivateKeyInfo
177 // an ASN.1-encoded PrivateKeyInfo block from PKCS #8. This can return NULL if
nss_key_util.h 31 // DER-encoded PrivateKeyInfo block from PKCS #8. Returns nullptr on error. If
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
BCDHPrivateKey.java 20 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
38 private transient PrivateKeyInfo info;
61 PrivateKeyInfo info)
120 * represents a full PrivateKeyInfo object.
133 PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), dhSpec.getL()).toASN1Primitive()), new ASN1Integer(getX()));
KeyFactorySpi.java 18 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
91 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
BCDSAPrivateKey.java 16 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
54 PrivateKeyInfo info)
88 * represents a full PrivateKeyInfo object.
KeyFactorySpi.java 16 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java 18 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
91 return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()));
133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
BCRSAPrivateCrtKey.java 10 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
91 PrivateKeyInfo info)
125 * represents a full PrivateKeyInfo object.
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
rfc5208.py 33 class PrivateKeyInfo(univ.Sequence):
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/
pkcs8dump.py 23 asn1Spec = rfc5208.PrivateKeyInfo()
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
BCECPrivateKey.java 21 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
200 PrivateKeyInfo info,
209 private void populateFromPrivKeyInfo(PrivateKeyInfo info)
250 * represents a full PrivateKeyInfo object.
290 PrivateKeyInfo info;
304 info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, params), keyStructure);
423 populateFromPrivKeyInfo(PrivateKeyInfo.getInstance(ASN1Primitive.fromByteArray(enc)));
  /external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
service_account.py 26 from pyasn1_modules.rfc5208 import PrivateKeyInfo
136 asn1_private_key, _ = decoder.decode(der, asn1Spec=PrivateKeyInfo())
  /build/tools/signtos/
SignTos.java 20 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
138 * Now it's in a PKCS#8 PrivateKeyInfo structure. Read its Algorithm
142 PrivateKeyInfo pki = PrivateKeyInfo.getInstance(bIn.readObject());

Completed in 601 milliseconds

1 2