OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:OpenSSLKey
(Results
1 - 2
of
2
) sorted by null
/external/conscrypt/src/main/java/org/conscrypt/
OpenSSLKey.java
31
public class
OpenSSLKey
{
38
public
OpenSSLKey
(long ctx) {
44
public
OpenSSLKey
(long ctx, OpenSSLEngine engine, String alias) {
52
* life cycle of this native pointer is managed by the {@code
OpenSSLKey
}
71
public static
OpenSSLKey
fromPrivateKey(PrivateKey key) throws InvalidKeyException {
88
return new
OpenSSLKey
(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(key.getEncoded()));
91
private static
OpenSSLKey
wrapPrivateKey(PrivateKey key) throws InvalidKeyException {
103
public static
OpenSSLKey
fromPublicKey(PublicKey key) throws InvalidKeyException {
117
return new
OpenSSLKey
(NativeCrypto.d2i_PUBKEY(key.getEncoded()));
139
final
OpenSSLKey
key
[
all
...]
OpenSSLSignature.java
41
private
OpenSSLKey
key;
107
private void checkEngineType(
OpenSSLKey
pkey) throws InvalidKeyException {
134
private void initInternal(
OpenSSLKey
newKey, boolean signing) throws InvalidKeyException {
144
initInternal(
OpenSSLKey
.fromPrivateKey(privateKey), true);
155
final
OpenSSLKey
key = this.key;
170
initInternal(
OpenSSLKey
.fromPublicKey(publicKey), false);
Completed in 112 milliseconds