Package org.conscrypt
Class CryptoUpcalls
- java.lang.Object
-
- org.conscrypt.CryptoUpcalls
-
public final class CryptoUpcalls extends Object
Provides a place where NativeCrypto can call back up to do Java language calls to work on delegated key types from native code. Delegated keys are usually backed by hardware so we don't have access directly to the private key material. If it were a key where we can get to the private key, we would not ever call into this class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]rawSignDigestWithPrivateKey(PrivateKey javaKey, byte[] message)static byte[]rsaDecryptWithPrivateKey(PrivateKey javaKey, int openSSLPadding, byte[] input)
-
-
-
Method Detail
-
rawSignDigestWithPrivateKey
public static byte[] rawSignDigestWithPrivateKey(PrivateKey javaKey, byte[] message)
-
rsaDecryptWithPrivateKey
public static byte[] rsaDecryptWithPrivateKey(PrivateKey javaKey, int openSSLPadding, byte[] input)
-
-