Пример #1
0
 /// <summary>
 /// Uses RSA algorithm for verifying the signature of a signed license with the specified private key.
 /// </summary>
 /// <param name="signer">
 /// The fluent API object to extend.
 /// </param>
 /// <param name="base64EncodedCsbBlobKey">
 /// The base64 encoded CSB BLOB key that contains the public key.
 /// </param>
 /// <returns>
 /// The next fluent API object.
 /// </returns>
 public static IVerifier_ApplicationCode WithRsaPublicKey(this IVerifier_Signer signer, string base64EncodedCsbBlobKey)
 {
     return(signer.WithRsaPublicKey(Convert.FromBase64String(base64EncodedCsbBlobKey)));
 }