Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DEnrollmentCryptoOps.java137 GcmDeviceInfo enrollmentInfo, SecretKey masterKey, PrivateKey signingKey) in encryptEnrollmentMessage() argument
139 if ((enrollmentInfo == null) || (masterKey == null) || (signingKey == null)) { in encryptEnrollmentMessage()
143 if (!Arrays.equals(enrollmentInfo.getDeviceMasterKeyHash().toByteArray(), in encryptEnrollmentMessage()
152 .setVerificationKeyId(enrollmentInfo.getUserPublicKey().toByteArray()) in encryptEnrollmentMessage()
153 .buildSignedCleartextMessage(signingKey, sigType, enrollmentInfo.toByteArray()); in encryptEnrollmentMessage()
188 GcmDeviceInfo enrollmentInfo; in decryptEnrollmentMessage() local
202 enrollmentInfo = GcmDeviceInfo.parseFrom(innerHeaderAndBody.getBody()); in decryptEnrollmentMessage()
215 && Arrays.equals(encodedUserPublicKey, enrollmentInfo.getUserPublicKey().toByteArray()) in decryptEnrollmentMessage()
217 enrollmentInfo.getDeviceMasterKeyHash().toByteArray()); in decryptEnrollmentMessage()
220 return enrollmentInfo; in decryptEnrollmentMessage()