Class DWIntegrationUrlEncrypted
Class representing an integration url that has encryption.
Inherited Members
Namespace: DocuWare.WebIntegration
Assembly: DocuWare.WebIntegration.dll
Syntax
public class DWIntegrationUrlEncrypted : DWIntegrationUrl
Constructors
DWIntegrationUrlEncrypted(DWIntegrationInfo, DWIntegrationUrlParameters, String)
Initializes a new instance of the DWWebClientLoginUrlEncrypted class.
Declaration
public DWIntegrationUrlEncrypted(DWIntegrationInfo integrationInfo, DWIntegrationUrlParameters param, string passphrase)
Parameters
Type | Name | Description |
---|---|---|
DWIntegrationInfo | integrationInfo | The integration info. |
DWIntegrationUrlParameters | param | The integration parameters. |
System.String | passphrase | The pass phrase used for the encryption. |
DWIntegrationUrlEncrypted(DWIntegrationInfo, IntegrationType, String)
Initializes a new instance of the DWWebClientLoginUrlEncrypted class.
Declaration
public DWIntegrationUrlEncrypted(DWIntegrationInfo integrationInfo, IntegrationType integrationType, string passphrase)
Parameters
Type | Name | Description |
---|---|---|
DWIntegrationInfo | integrationInfo | The integration info. |
IntegrationType | integrationType | The integration type. |
System.String | passphrase | The pass phrase used for the encryption. |
Properties
Url
Creates a url with encrypted parameters according to the values of the current instance.
Declaration
public override string Url { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
Decrypt(String, String)
Declaration
public static string Decrypt(string encrParam, string passphrase)
Parameters
Type | Name | Description |
---|---|---|
System.String | encrParam | |
System.String | passphrase |
Returns
Type | Description |
---|---|
System.String |
DecryptAndParse(DWIntegrationInfo, Dictionary<String, String>, String)
Declaration
public static DWIntegrationUrlEncrypted DecryptAndParse(DWIntegrationInfo integrationInfo, Dictionary<string, string> parameters, string passphrase)
Parameters
Type | Name | Description |
---|---|---|
DWIntegrationInfo | integrationInfo | |
System.Collections.Generic.Dictionary<System.String, System.String> | parameters | |
System.String | passphrase |
Returns
Type | Description |
---|---|
DWIntegrationUrlEncrypted |
DecryptAndParse(DWIntegrationInfo, String, String)
Creates a new instance of the DWIntegrationUrlEncrypted class and initializes it with the values specified in the given encrypted url.
Declaration
public static DWIntegrationUrlEncrypted DecryptAndParse(DWIntegrationInfo integrationInfo, string encryptedUrl, string passphrase)
Parameters
Type | Name | Description |
---|---|---|
DWIntegrationInfo | integrationInfo | The integration infro. |
System.String | encryptedUrl | The url to decrypt. |
System.String | passphrase | The pass phrase used for the decryption. |
Returns
Type | Description |
---|---|
DWIntegrationUrlEncrypted | Returs the newly created instance. |
Remarks
Use this method if you already have parsed the DWIntegrationInfo and want to parse only the remaining parts of the passed url string.
DecryptAndParse(String, Byte[], Byte[])
Creates a new instance of the DWIntegrationUrlEncrypted class and initializes it with the values specified in the given encrypted url.
Declaration
public static DWIntegrationUrlEncrypted DecryptAndParse(string encryptedUrl, byte[] key, byte[] iv)
Parameters
Type | Name | Description |
---|---|---|
System.String | encryptedUrl | The url to decrypt. |
System.Byte[] | key | The key used for decryption. |
System.Byte[] | iv | The vector used for decryption. |
Returns
Type | Description |
---|---|
DWIntegrationUrlEncrypted | Returs the newly created instance. |
DecryptAndParse(String, String)
Creates a new instance of the DWIntegrationUrlEncrypted class and initializes it with the values specified in the given encrypted url.
Declaration
public static DWIntegrationUrlEncrypted DecryptAndParse(string encryptedUrl, string passphrase)
Parameters
Type | Name | Description |
---|---|---|
System.String | encryptedUrl | The url to decrypt. |
System.String | passphrase | The pass phrase used for the decryption. |
Returns
Type | Description |
---|---|
DWIntegrationUrlEncrypted | Returs the newly created instance. |