CoseSign1Message.SignEmbedded 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
SignEmbedded(Byte[], CoseSigner, Byte[]) |
지정된 콘텐츠에 서명하고 포함된 콘텐츠가 포함된 COSE_Sign1 메시지로 인코딩합니다. |
SignEmbedded(ReadOnlySpan<Byte>, CoseSigner, ReadOnlySpan<Byte>) |
지정된 콘텐츠에 서명하고 포함된 콘텐츠가 포함된 COSE_Sign1 메시지로 인코딩합니다. |
SignEmbedded(Byte[], CoseSigner, Byte[])
- Source:
- CoseSign1Message.cs
- Source:
- CoseSign1Message.cs
- Source:
- CoseSign1Message.cs
- Source:
- CoseSign1Message.cs
지정된 콘텐츠에 서명하고 포함된 콘텐츠가 포함된 COSE_Sign1 메시지로 인코딩합니다.
public static byte[] SignEmbedded (byte[] embeddedContent, System.Security.Cryptography.Cose.CoseSigner signer, byte[]? associatedData = default);
static member SignEmbedded : byte[] * System.Security.Cryptography.Cose.CoseSigner * byte[] -> byte[]
Public Shared Function SignEmbedded (embeddedContent As Byte(), signer As CoseSigner, Optional associatedData As Byte() = Nothing) As Byte()
매개 변수
- embeddedContent
- Byte[]
메시지에 서명하고 포함할 콘텐츠입니다.
- signer
- CoseSigner
서명하는 데 사용되는 서명자 정보입니다 embeddedContent
.
- associatedData
- Byte[]
서명과 연결된 추가 데이터이며, 확인 중에도 제공해야 합니다.
반환
인코딩된 메시지입니다.
예외
embeddedContent
또는 signer
가 null
인 경우
의 ProtectedHeaderssigner
및 UnprotectedHeaders 컬렉션에는 하나 이상의 레이블이 공통적으로 있습니다.
또는
헤더에 지정된 CriticalHeaders 레이블 중 하나 이상이 없습니다.
적용 대상
SignEmbedded(ReadOnlySpan<Byte>, CoseSigner, ReadOnlySpan<Byte>)
- Source:
- CoseSign1Message.cs
- Source:
- CoseSign1Message.cs
- Source:
- CoseSign1Message.cs
- Source:
- CoseSign1Message.cs
지정된 콘텐츠에 서명하고 포함된 콘텐츠가 포함된 COSE_Sign1 메시지로 인코딩합니다.
public static byte[] SignEmbedded (ReadOnlySpan<byte> embeddedContent, System.Security.Cryptography.Cose.CoseSigner signer, ReadOnlySpan<byte> associatedData = default);
static member SignEmbedded : ReadOnlySpan<byte> * System.Security.Cryptography.Cose.CoseSigner * ReadOnlySpan<byte> -> byte[]
Public Shared Function SignEmbedded (embeddedContent As ReadOnlySpan(Of Byte), signer As CoseSigner, Optional associatedData As ReadOnlySpan(Of Byte) = Nothing) As Byte()
매개 변수
- embeddedContent
- ReadOnlySpan<Byte>
메시지에 서명하고 포함할 콘텐츠입니다.
- signer
- CoseSigner
서명하는 데 사용되는 서명자 정보입니다 embeddedContent
.
- associatedData
- ReadOnlySpan<Byte>
서명과 연결된 추가 데이터이며, 확인 중에도 제공해야 합니다.
반환
인코딩된 메시지입니다.
예외
signer
은 null
입니다.
의 ProtectedHeaderssigner
및 UnprotectedHeaders 컬렉션에는 하나 이상의 레이블이 공통적으로 있습니다.
또는
헤더에 지정된 CriticalHeaders 레이블 중 하나 이상이 없습니다.
적용 대상
.NET