OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OpenSSLKey
(Results
1 - 25
of
27
) sorted by null
1
2
/libcore/crypto/src/main/java/org/conscrypt/
OpenSSLKeyHolder.java
20
public
OpenSSLKey
getOpenSSLKey();
OpenSSLSecretKey.java
35
private transient
OpenSSLKey
key;
42
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_mac_key(type, encoded));
45
public OpenSSLSecretKey(String algorithm,
OpenSSLKey
key) {
53
public static
OpenSSLKey
getInstance(SecretKey key) throws InvalidKeyException {
55
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_mac_key(NativeCrypto.EVP_PKEY_HMAC,
86
public
OpenSSLKey
getOpenSSLKey() {
127
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_mac_key(type, encoded));
OpenSSLKey.java
28
public class
OpenSSLKey
{
35
public
OpenSSLKey
(long ctx) {
41
public
OpenSSLKey
(long ctx, OpenSSLEngine engine, String alias) {
49
* life cycle of this native pointer is managed by the {@code
OpenSSLKey
}
68
public static
OpenSSLKey
fromPrivateKey(PrivateKey key) throws InvalidKeyException {
74
return new
OpenSSLKey
(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(key.getEncoded()));
97
final
OpenSSLKey
key;
99
key = new
OpenSSLKey
(NativeCrypto.d2i_PUBKEY(x509KeySpec.getEncoded()));
132
final
OpenSSLKey
key;
134
key = new
OpenSSLKey
(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(pkcs8KeySpec.getEncoded()))
[
all
...]
OpenSSLRSAPublicKey.java
31
private transient
OpenSSLKey
key;
39
OpenSSLRSAPublicKey(
OpenSSLKey
key) {
44
public
OpenSSLKey
getOpenSSLKey() {
50
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
64
static
OpenSSLKey
getInstance(RSAPublicKey rsaPublicKey) throws InvalidKeyException {
66
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
173
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
OpenSSLRSAPrivateKey.java
32
protected transient
OpenSSLKey
key;
40
OpenSSLRSAPrivateKey(
OpenSSLKey
key) {
44
OpenSSLRSAPrivateKey(
OpenSSLKey
key, byte[][] params) {
51
public
OpenSSLKey
getOpenSSLKey() {
59
private static
OpenSSLKey
init(RSAPrivateKeySpec rsaKeySpec) throws InvalidKeySpecException {
70
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
84
static OpenSSLRSAPrivateKey getInstance(
OpenSSLKey
key) {
92
static
OpenSSLKey
getInstance(RSAPrivateKey rsaPrivateKey) throws InvalidKeyException {
103
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
251
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA
[
all
...]
OpenSSLECPrivateKey.java
36
protected transient
OpenSSLKey
key;
40
public OpenSSLECPrivateKey(OpenSSLECGroupContext group,
OpenSSLKey
key) {
45
public OpenSSLECPrivateKey(
OpenSSLKey
key) {
55
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getContext(), 0,
62
public static
OpenSSLKey
getInstance(ECPrivateKey ecPrivateKey) throws InvalidKeyException {
67
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getContext(), 0,
126
public
OpenSSLKey
getOpenSSLKey() {
174
key = new
OpenSSLKey
(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(encoded));
OpenSSLECPublicKey.java
38
protected transient
OpenSSLKey
key;
42
public OpenSSLECPublicKey(OpenSSLECGroupContext group,
OpenSSLKey
key) {
47
public OpenSSLECPublicKey(
OpenSSLKey
key) {
58
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getContext(),
65
public static
OpenSSLKey
getInstance(ECPublicKey ecPublicKey) throws InvalidKeyException {
71
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getContext(),
111
public
OpenSSLKey
getOpenSSLKey() {
159
key = new
OpenSSLKey
(NativeCrypto.d2i_PUBKEY(encoded));
OpenSSLEngine.java
71
OpenSSLKey
pkey = new
OpenSSLKey
(keyRef, this, id);
89
OpenSSLKey
pkey = new
OpenSSLKey
(keyRef, this, id);
OpenSSLDSAPrivateKey.java
33
private transient
OpenSSLKey
key;
37
OpenSSLDSAPrivateKey(
OpenSSLKey
key) {
42
public
OpenSSLKey
getOpenSSLKey() {
48
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_DSA(
65
static
OpenSSLKey
getInstance(DSAPrivateKey dsaPrivateKey) throws InvalidKeyException {
68
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_DSA(
213
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_DSA(
OpenSSLDSAPublicKey.java
33
private transient
OpenSSLKey
key;
37
OpenSSLDSAPublicKey(
OpenSSLKey
key) {
42
public
OpenSSLKey
getOpenSSLKey() {
48
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_DSA(
65
static
OpenSSLKey
getInstance(DSAPublicKey dsaPublicKey) throws InvalidKeyException {
68
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_DSA(
173
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_DSA(
OpenSSLECDHKeyAgreement.java
38
private
OpenSSLKey
mOpenSslPrivateKey;
64
OpenSSLKey
openSslPublicKey = translateKeyToEcOpenSSLKey(key);
127
OpenSSLKey
openSslKey
= translateKeyToEcOpenSSLKey(key);
129
openSslKey
.getPkeyContext()));
131
mOpenSslPrivateKey =
openSslKey
;
150
private static
OpenSSLKey
translateKeyToEcOpenSSLKey(Key key) throws InvalidKeyException {
OpenSSLDSAKeyPairGenerator.java
49
final
OpenSSLKey
key = new
OpenSSLKey
(NativeCrypto.DSA_generate_key(primeBits, seed, g, p,
OpenSSLRSAKeyPairGenerator.java
44
final
OpenSSLKey
key = new
OpenSSLKey
(NativeCrypto.RSA_generate_key_ex(modulusBits,
OpenSSLDSAParams.java
25
private
OpenSSLKey
key;
39
OpenSSLDSAParams(
OpenSSLKey
key) {
43
OpenSSLKey
getOpenSSLKey() {
OpenSSLECKeyPairGenerator.java
59
final
OpenSSLKey
key = new
OpenSSLKey
(NativeCrypto.EC_KEY_generate_key(group.getContext()));
OpenSSLRSAPrivateCrtKey.java
45
OpenSSLRSAPrivateCrtKey(
OpenSSLKey
key) {
49
OpenSSLRSAPrivateCrtKey(
OpenSSLKey
key, byte[][] params) {
57
private static
OpenSSLKey
init(RSAPrivateCrtKeySpec rsaKeySpec) throws InvalidKeySpecException {
81
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
95
static
OpenSSLKey
getInstance(RSAPrivateCrtKey rsaPrivateKey) throws InvalidKeyException {
119
return new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
309
key = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_RSA(
OpenSSLMac.java
46
private
OpenSSLKey
macKey;
88
macKey = new
OpenSSLKey
(NativeCrypto.EVP_PKEY_new_mac_key(evp_pkey_type, keyBytes));
OpenSSLSignature.java
51
private
OpenSSLKey
key;
122
private void checkEngineType(
OpenSSLKey
pkey) throws InvalidKeyException {
151
OpenSSLKey
pkey = ((OpenSSLKeyHolder) privateKey).getOpenSSLKey();
193
OpenSSLKey
pkey = ((OpenSSLKeyHolder) publicKey).getOpenSSLKey();
OpenSSLX509Certificate.java
330
private void verifyOpenSSL(
OpenSSLKey
pkey) throws CertificateException,
366
OpenSSLKey
pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey();
397
OpenSSLKey
pkey = new
OpenSSLKey
(NativeCrypto.X509_get_pubkey(mContext));
OpenSSLDSAKeyFactory.java
46
return
OpenSSLKey
.getPublicKey((X509EncodedKeySpec) keySpec, NativeCrypto.EVP_PKEY_DSA);
61
return
OpenSSLKey
.getPrivateKey((PKCS8EncodedKeySpec) keySpec,
OpenSSLECKeyFactory.java
47
return
OpenSSLKey
.getPublicKey((X509EncodedKeySpec) keySpec, NativeCrypto.EVP_PKEY_EC);
62
return
OpenSSLKey
.getPrivateKey((PKCS8EncodedKeySpec) keySpec,
OpenSSLRSAKeyFactory.java
47
return
OpenSSLKey
.getPublicKey((X509EncodedKeySpec) keySpec, NativeCrypto.EVP_PKEY_RSA);
64
return
OpenSSLKey
.getPrivateKey((PKCS8EncodedKeySpec) keySpec,
OpenSSLSignatureRawRSA.java
38
private
OpenSSLKey
key;
OpenSSLX509CRL.java
196
private void verifyOpenSSL(
OpenSSLKey
pkey) throws CRLException, NoSuchAlgorithmException,
227
OpenSSLKey
pkey = ((OpenSSLKeyHolder) key).getOpenSSLKey();
OpenSSLSocketImpl.java
83
private
OpenSSLKey
channelIdPrivateKey;
515
final
OpenSSLKey
key =
OpenSSLKey
.fromPrivateKey(privateKey);
[
all
...]
Completed in 351 milliseconds
1
2