System::Security::Cryptography::X509Certificates::X509Certificate2::GetCertContentType method

X509Certificate2::GetCertContentType(const ByteArrayPtr&) method

Gets the type of certificate contained in the specified byte array.

static X509ContentType System::Security::Cryptography::X509Certificates::X509Certificate2::GetCertContentType(const ByteArrayPtr &raw_data)
ParameterTypeDescription
raw_dataconst ByteArrayPtr&Certificate data.

ReturnValue

Type of X.509 certificate.

See Also

X509Certificate2::GetCertContentType(const String&) method

Gets the type of certificate contained in the specified file.

static X509ContentType System::Security::Cryptography::X509Certificates::X509Certificate2::GetCertContentType(const String &filename)
ParameterTypeDescription
filenameconst String&Certificate file name.

ReturnValue

Type of X.509 certificate.

See Also