OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:privatekeyinfo
(Results
1 - 25
of
53
) sorted by null
1
2
3
/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
;
186
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
14
import org.bouncycastle.asn1.pkcs.
PrivateKeyInfo
;
345
public static PrivateKey getPrivateKey(
PrivateKeyInfo
privateKeyInfo
)
348
AsymmetricKeyInfoConverter converter = getAsymmetricKeyInfoConverter(
privateKeyInfo
.getPrivateKeyAlgorithm().getAlgorithm());
355
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());
/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
203
// Exports the private key to a PKCS #8
PrivateKeyInfo
block.
ec_private_key.h
47
// an ASN.1-encoded
PrivateKeyInfo
block from PKCS #8. This can return
91
// Exports the private key to a PKCS #8
PrivateKeyInfo
block.
nss_key_util.h
31
// DER-encoded
PrivateKeyInfo
block from PKCS #8. Returns nullptr on error. If
/libcore/ojluni/src/main/java/java/security/spec/
PKCS8EncodedKeySpec.java
30
* encoded according to the ASN.1 type {@code
PrivateKeyInfo
}.
31
* The {@code
PrivateKeyInfo
} syntax is defined in the PKCS#8 standard
35
*
PrivateKeyInfo
::= SEQUENCE {
/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
;
99
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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
BCECPrivateKey.java
20
import org.bouncycastle.asn1.pkcs.
PrivateKeyInfo
;
204
PrivateKeyInfo
info,
213
private void populateFromPrivKeyInfo(
PrivateKeyInfo
info)
254
* represents a full
PrivateKeyInfo
object.
272
PrivateKeyInfo
info;
286
info = new
PrivateKeyInfo
(new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, params), keyStructure);
407
populateFromPrivKeyInfo(
PrivateKeyInfo
.getInstance(ASN1Primitive.fromByteArray(enc)));
/build/make/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());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseWrapCipher.java
31
import org.bouncycastle.asn1.pkcs.
PrivateKeyInfo
;
366
PrivateKeyInfo
in =
PrivateKeyInfo
.getInstance(encoded);
/system/extras/verity/
Utils.java
54
import org.bouncycastle.asn1.pkcs.
PrivateKeyInfo
;
173
PrivateKeyInfo
pki =
PrivateKeyInfo
.getInstance(bIn.readObject());
Completed in 5023 milliseconds
1
2
3