다음을 통해 공유


ContentInfo.GetContentType 메서드

정의

오버로드

GetContentType(Byte[])

인코딩된 CMS ContentInfo 메시지의 외부 콘텐츠 형식을 검색합니다.

GetContentType(ReadOnlySpan<Byte>)

인코딩된 CMS ContentInfo 메시지의 외부 콘텐츠 형식을 검색합니다.

GetContentType(Byte[])

Source:
ContentInfo.cs
Source:
ContentInfo.cs
Source:
ContentInfo.cs
Source:
ContentInfo.cs

인코딩된 CMS ContentInfo 메시지의 외부 콘텐츠 형식을 검색합니다.

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

매개 변수

encodedMessage
Byte[]

외부 콘텐츠 형식을 검색할 인코딩된 CMS ContentInfo 메시지를 나타내는 바이트 값 배열입니다.

반환

Oid

인코딩된 지정 CMS ContentInfo 메시지의 외부 콘텐츠 형식입니다.

예외

encodedMessage이(가) null인 경우

유효한 CMS ContentInfo 값으로 encodedMessage를 디코딩할 수 없습니다.

적용 대상

GetContentType(ReadOnlySpan<Byte>)

Source:
ContentInfo.cs
Source:
ContentInfo.cs
Source:
ContentInfo.cs
Source:
ContentInfo.cs

인코딩된 CMS ContentInfo 메시지의 외부 콘텐츠 형식을 검색합니다.

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

매개 변수

encodedMessage
ReadOnlySpan<Byte>

외부 콘텐츠 형식을 검색할 인코딩된 CMS ContentInfo 메시지를 나타내는 바이트 값의 읽기 전용 범위입니다.

반환

Oid

인코딩된 지정 CMS ContentInfo 메시지의 외부 콘텐츠 형식입니다.

예외

유효한 CMS ContentInfo 값으로 encodedMessage를 디코딩할 수 없습니다.

적용 대상