Search in sources :

Example 1 with SecureDocumentKey

use of org.telegram.messenger.SecureDocumentKey in project Telegram-FOSS by Telegram-FOSS-Team.

the class PassportActivity method addDocumentViewInternal.

private void addDocumentViewInternal(TLRPC.TL_secureFile f, int uploadingType) {
    SecureDocumentKey secureDocumentKey = getSecureDocumentKey(f.secret, f.file_hash);
    SecureDocument secureDocument = new SecureDocument(secureDocumentKey, f, null, null, null);
    addDocumentView(secureDocument, uploadingType);
}
Also used : SecureDocumentKey(org.telegram.messenger.SecureDocumentKey) SecureDocument(org.telegram.messenger.SecureDocument)

Aggregations

SecureDocument (org.telegram.messenger.SecureDocument)1 SecureDocumentKey (org.telegram.messenger.SecureDocumentKey)1