Searched refs:enrollmentInfo (Results 1 – 1 of 1) sorted by relevance
137 GcmDeviceInfo enrollmentInfo, SecretKey masterKey, PrivateKey signingKey) in encryptEnrollmentMessage() argument139 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() local202 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()