AzureAD / rms-sdk-for-cpp

RMS SDK for C++
MIT License
29 stars 15 forks source link

How to get the RMS Server address (such as:https://adrms.mobile.cn) when encrypting the files? #116

Closed Kammy6679 closed 8 years ago

Kammy6679 commented 9 years ago

How to get the RMS Server address (such as:https://adrms.mobile.cn) when encrypting the files?

In ConsentList Consents(ConsentList& consents), we can use IConsent to the RMS server address when decrypting the files.

In Windows, set dwPropID to IPC_LI_CONNECTION_INFO when calling IpcGetSerializedLicenseProperty(https://msdn.microsoft.com/en-us/library/windows/desktop/hh995038(v=vs.85).aspx), to get the RMS server address.

Can you provide similar interfaces(IPC_LI_CONNECTION_INFO) in UserPolicy to get these information?

Kammy6679 commented 8 years ago

Please open this issue. You don't provide any suggestion for this

prvijay commented 8 years ago

@Kammy6679 - Please go through the documentation @ https://technet.microsoft.com/en-us/library/dn673574(v=ws.11).aspx#BKMK_SRV on how to create a DNS record - that should be sufficient to address the scenario at hand (for encryption and decryption).

Kammy6679 commented 8 years ago

@prvijay , We do not understand @ https://technet.microsoft.com/en-us/library/dn673574(v=ws.11).aspx#BKMK_SRV Can you please provide a sample for how to get the Azure RMS server address and the ADFD RMS server address?

Kammy6679 commented 8 years ago

@prvijay, any update?