ContentInfo.GetContentType Methode

Definitie

Overloads

Name Description
GetContentType(Byte[])

Hiermee wordt het buitenste inhoudstype van een gecodeerd CMS ContentInfo-bericht opgehaald.

GetContentType(ReadOnlySpan<Byte>)

Hiermee wordt het buitenste inhoudstype van een gecodeerd CMS ContentInfo-bericht opgehaald.

GetContentType(Byte[])

Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs

Hiermee wordt het buitenste inhoudstype van een gecodeerd CMS ContentInfo-bericht opgehaald.

public:
 static System::Security::Cryptography::Oid ^ GetContentType(cli::array <System::Byte> ^ encodedMessage);
public static System.Security.Cryptography.Oid GetContentType(byte[] encodedMessage);
static member GetContentType : byte[] -> System.Security.Cryptography.Oid
Public Shared Function GetContentType (encodedMessage As Byte()) As Oid

Parameters

encodedMessage
Byte[]

Een matrix van bytewaarden die het gecodeerde CMS ContentInfo-bericht vertegenwoordigt waaruit het buitenste inhoudstype moet worden opgehaald.

Retouren

Oid

Het buitenste inhoudstype van het opgegeven gecodeerde CMS ContentInfo-bericht.

Uitzonderingen

encodedMessage is null.

encodedMessage kan niet worden gedecodeerd als een geldige CMS ContentInfo-waarde.

Van toepassing op

GetContentType(ReadOnlySpan<Byte>)

Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs
Bron:
ContentInfo.cs

Hiermee wordt het buitenste inhoudstype van een gecodeerd CMS ContentInfo-bericht opgehaald.

public:
 static System::Security::Cryptography::Oid ^ GetContentType(ReadOnlySpan<System::Byte> encodedMessage);
public static System.Security.Cryptography.Oid GetContentType(ReadOnlySpan<byte> encodedMessage);
static member GetContentType : ReadOnlySpan<byte> -> System.Security.Cryptography.Oid
Public Shared Function GetContentType (encodedMessage As ReadOnlySpan(Of Byte)) As Oid

Parameters

encodedMessage
ReadOnlySpan<Byte>

Een alleen-lezen reeks bytewaarden die het gecodeerde CMS ContentInfo-bericht vertegenwoordigen waaruit het buitenste inhoudstype moet worden opgehaald.

Retouren

Oid

Het buitenste inhoudstype van het opgegeven gecodeerde CMS ContentInfo-bericht.

Uitzonderingen

encodedMessage kan niet worden gedecodeerd als een geldige CMS ContentInfo-waarde.

Van toepassing op