use of com.fsck.k9.autocrypt.AutocryptOpenPgpApiInteractor in project k-9 by k9mail.
the class PgpMessageBuilder method newInstance.
public static PgpMessageBuilder newInstance() {
MessageIdGenerator messageIdGenerator = MessageIdGenerator.getInstance();
BoundaryGenerator boundaryGenerator = BoundaryGenerator.getInstance();
AutocryptOperations autocryptOperations = AutocryptOperations.getInstance();
AutocryptOpenPgpApiInteractor autocryptOpenPgpApiInteractor = AutocryptOpenPgpApiInteractor.getInstance();
CoreResourceProvider resourceProvider = DI.get(CoreResourceProvider.class);
return new PgpMessageBuilder(messageIdGenerator, boundaryGenerator, autocryptOperations, autocryptOpenPgpApiInteractor, resourceProvider);
}
Aggregations