ContentInfo.GetContentType Metod

Definition

Överlagringar

Name Description
GetContentType(Byte[])

Hämtar den yttre innehållstypen för ett kodat CMS ContentInfo-meddelande.

GetContentType(ReadOnlySpan<Byte>)

Hämtar den yttre innehållstypen för ett kodat CMS ContentInfo-meddelande.

GetContentType(Byte[])

Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs

Hämtar den yttre innehållstypen för ett kodat CMS ContentInfo-meddelande.

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

Parametrar

encodedMessage
Byte[]

En matris med bytevärden som representerar det kodade CMS ContentInfo-meddelandet som den yttre innehållstypen ska hämtas från.

Returer

Oid

Den yttre innehållstypen för det angivna kodade CMS ContentInfo-meddelandet.

Undantag

encodedMessage är null.

encodedMessage kan inte avkodas som ett giltigt CMS ContentInfo-värde.

Gäller för

GetContentType(ReadOnlySpan<Byte>)

Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs
Källa:
ContentInfo.cs

Hämtar den yttre innehållstypen för ett kodat CMS ContentInfo-meddelande.

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

Parametrar

encodedMessage
ReadOnlySpan<Byte>

Ett skrivskyddat intervall med bytevärden som representerar det kodade CMS ContentInfo-meddelandet som den yttre innehållstypen ska hämtas från.

Returer

Oid

Den yttre innehållstypen för det angivna kodade CMS ContentInfo-meddelandet.

Undantag

encodedMessage kan inte avkodas som ett giltigt CMS ContentInfo-värde.

Gäller för