示例#1
0
 /// <summary>
 /// Create and sign a new <see cref="License"/> with the specified
 /// private encryption key.
 /// </summary>
 /// <param name="privateKey">The private encryption key for the signature.</param>
 /// <param name="passPhrase">The pass phrase to decrypt the private key.</param>
 /// <returns>The signed <see cref="License"/>.</returns>
 public License CreateAndSignWithPrivateKey(string privateKey, string passPhrase)
 {
     license.Sign(privateKey, passPhrase);
     return(license);
 }