Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

IHttpTransportLayerSecurityFeature is just bizzare #70

Closed
davidfowl opened this issue Jun 10, 2014 · 1 comment
Closed

IHttpTransportLayerSecurityFeature is just bizzare #70

davidfowl opened this issue Jun 10, 2014 · 1 comment

Comments

@davidfowl
Copy link
Member

Should be renamed:

using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;

namespace Microsoft.AspNet.HttpFeature
{
    [AssemblyNeutral]
    public interface IHttpClientCertificateFeature
    {
        // For sync access to the cert or assignment
        X509Certificate ClientCertificate { get; set; }

        // For async access to the cert
        Task<X509Certificate> GetClientCertificateAsync();
    }
}
@davidfowl davidfowl changed the title IHttpTransportLayerSecurityFeature IHttpTransportLayerSecurityFeature is just bizzare Jun 10, 2014
@blowdart
Copy link
Member

Wait, why not X509Certificate2? This gives you some nice security related properties such as the Key Usage property.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants