Exemple #1
0
        /// <summary>
        /// Return a protocol object of the requested type.
        /// </summary>
        /// <returns>The protocol object of the requested type.</returns>
        Models.CertificateReference ITransportObjectProvider <Models.CertificateReference> .GetTransportObject()
        {
            Models.CertificateReference result = new Models.CertificateReference()
            {
                StoreLocation       = UtilitiesInternal.MapNullableEnum <Common.CertStoreLocation, Models.CertificateStoreLocation>(this.StoreLocation),
                StoreName           = this.StoreName,
                Thumbprint          = this.Thumbprint,
                ThumbprintAlgorithm = this.ThumbprintAlgorithm,
                Visibility          = UtilitiesInternal.CertificateVisibilityToList(this.Visibility),
            };

            return(result);
        }