Esempio n. 1
0
 /// <summary>
 /// Get Issuer Certificate for Authority Information
 /// Access endpoint.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='serialNumber'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <string> GetIssuerCertificateChain1Async(this IAzureOpcVaultClient operations, string serialNumber, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetIssuerCertificateChain1WithHttpMessagesAsync(serialNumber, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Get Issuer Certificate for Authority Information
 /// Access endpoint.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='serialNumber'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task GetIssuerCertificateChain1Async(this IAzureOpcVaultClient operations, string serialNumber, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.GetIssuerCertificateChain1WithHttpMessagesAsync(serialNumber, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }