Skip to content

X509Certificate2.GetCertContentType can thow CryptographicException (undocumented) #9669

@dorssel

Description

@dorssel

https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509certificate2.getcertcontenttype?view=net-8.0

This function throws CryptographicException (undocumented) when the input isn't parsable as any of the supported cryptographic input types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.SecurityIssues related to security practices for .NET developers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions