23-08-23
This commit is contained in:
13
EnvelopeGenerator.Common/Helpers.vb
Normal file
13
EnvelopeGenerator.Common/Helpers.vb
Normal file
@@ -0,0 +1,13 @@
|
||||
Public Class Helpers
|
||||
Public Shared Function EncodeEnvelopeReceiverId(pEnvelopeUuid As String, pReceiverSignature As String) As String
|
||||
Dim oString = $"{pEnvelopeUuid}::{pReceiverSignature}"
|
||||
'TODO: Verschlüsseln
|
||||
Return oString
|
||||
End Function
|
||||
|
||||
Public Shared Function DecodeEnvelopeReceiverId(pEnvelopeReceiverId As String) As Tuple(Of String, String)
|
||||
Dim oSplit = pEnvelopeReceiverId.Split("::")
|
||||
'TODO: Entschlüsseln
|
||||
Return New Tuple(Of String, String)(oSplit(0), oSplit(1))
|
||||
End Function
|
||||
End Class
|
||||
Reference in New Issue
Block a user