nl::Weave::SecuritySupport::PasscodeEncryptionSupport

摘要

公開的靜態函式

decryptPasscode(JNIEnv *env, jclass cls, jbyteArray encryptedPasscode, jbyteArray encKey, jbyteArray authKey, jbyteArray fingerprintKey)
jstring
encryptPasscode(JNIEnv *env, jclass cls, jint config, jint keyId, jlong nonce, jstring passcode, jbyteArray encKey, jbyteArray authKey, jbyteArray fingerprintKey)
jbyteArray
getEncryptedPasscodeConfig(JNIEnv *env, jclass cls, jbyteArray encryptedPasscode)
jint
getEncryptedPasscodeFingerprint(JNIEnv *env, jclass cls, jbyteArray encryptedPasscode)
jbyteArray
getEncryptedPasscodeKeyId(JNIEnv *env, jclass cls, jbyteArray encryptedPasscode)
jint
getEncryptedPasscodeNonce(JNIEnv *env, jclass cls, jbyteArray encryptedPasscode)
jlong
isSupportedPasscodeEncryptionConfig(JNIEnv *env, jclass cls, jint config)
jboolean

公開的靜態函式

decryptPasscode

jstring decryptPasscode(
  JNIEnv *env,
  jclass cls,
  jbyteArray encryptedPasscode,
  jbyteArray encKey,
  jbyteArray authKey,
  jbyteArray fingerprintKey
)

encryptPasscode

jbyteArray encryptPasscode(
  JNIEnv *env,
  jclass cls,
  jint config,
  jint keyId,
  jlong nonce,
  jstring passcode,
  jbyteArray encKey,
  jbyteArray authKey,
  jbyteArray fingerprintKey
)

getEncryptedPasscodeConfig

jint getEncryptedPasscodeConfig(
  JNIEnv *env,
  jclass cls,
  jbyteArray encryptedPasscode
)

getEncryptedPasscodeFingerprint

jbyteArray getEncryptedPasscodeFingerprint(
  JNIEnv *env,
  jclass cls,
  jbyteArray encryptedPasscode
)

getEncryptedPasscodeKeyId

jint getEncryptedPasscodeKeyId(
  JNIEnv *env,
  jclass cls,
  jbyteArray encryptedPasscode
)

getEncryptedPasscodeNonce

jlong getEncryptedPasscodeNonce(
  JNIEnv *env,
  jclass cls,
  jbyteArray encryptedPasscode
)

isSupportedPasscodeEncryptionConfig

jboolean isSupportedPasscodeEncryptionConfig(
  JNIEnv *env,
  jclass cls,
  jint config
)