Home
last modified time | relevance | path

Searched refs:userPublicKey (Results 1 – 2 of 2) sorted by relevance

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DTransportCryptoOps.java196 PublicKey userPublicKey = userKeyPair.getPublic(); in signcryptClientMessage() local
200 .setVerificationKeyId(KeyEncoding.encodeUserPublicKey(userPublicKey)) in signcryptClientMessage()
208 getSigTypeFor(userPublicKey), in signcryptClientMessage()
222 byte[] signcryptedClientMessage, PublicKey userPublicKey, SecretKey masterKey) in verifydecryptClientMessage() argument
231 userPublicKey, in verifydecryptClientMessage()
232 getSigTypeFor(userPublicKey), in verifydecryptClientMessage()
259 private static SigType getSigTypeFor(PublicKey userPublicKey) throws InvalidKeyException { in getSigTypeFor() argument
260 if (userPublicKey instanceof ECPublicKey) { in getSigTypeFor()
262 } else if (userPublicKey instanceof RSAPublicKey) { in getSigTypeFor()
DEnrollmentCryptoOps.java198 PublicKey userPublicKey = KeyEncoding.parseUserPublicKey(encodedUserPublicKey); in decryptEnrollmentMessage() local
201 innerMsg, userPublicKey, sigType); in decryptEnrollmentMessage()