SignedCms.RemoveSignature 메서드

정의

컬렉션에서 지정된 서명을 제거합니다 SignerInfos .

오버로드

Name Description
RemoveSignature(Int32)

컬렉션의 지정된 인덱스에 있는 서명을 제거합니다 SignerInfos .

RemoveSignature(SignerInfo)

메서드는 RemoveSignature(SignerInfo) 지정된 SignerInfo 개체에 대한 서명을 제거합니다.

RemoveSignature(Int32)

Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs

컬렉션의 지정된 인덱스에 있는 서명을 제거합니다 SignerInfos .

public:
 void RemoveSignature(int index);
public void RemoveSignature(int index);
member this.RemoveSignature : int -> unit
Public Sub RemoveSignature (index As Integer)

매개 변수

index
Int32

제거할 서명의 인덱스(0부터 시작하는 인덱스)입니다.

예외

CMS/PKCS #7 메시지가 서명 index 되지 않았으며 유효하지 않습니다.

index가 0보다 작습니다.

-또는-

index 가 서명 횟수에서 1을 뺀 값보다 큰 경우

서명을 제거할 수 없습니다.

-또는-

내부 암호화 오류가 발생했습니다.

적용 대상

RemoveSignature(SignerInfo)

Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs
Source:
SignedCms.cs

메서드는 RemoveSignature(SignerInfo) 지정된 SignerInfo 개체에 대한 서명을 제거합니다.

public:
 void RemoveSignature(System::Security::Cryptography::Pkcs::SignerInfo ^ signerInfo);
public void RemoveSignature(System.Security.Cryptography.Pkcs.SignerInfo signerInfo);
member this.RemoveSignature : System.Security.Cryptography.Pkcs.SignerInfo -> unit
Public Sub RemoveSignature (signerInfo As SignerInfo)

매개 변수

signerInfo
SignerInfo

SignerInfo 제거되는 반대 서명을 나타내는 개체입니다.

예외

null 참조가 유효한 인수로 허용되지 않는 메서드에 전달되었습니다.

인수의 값이 호출된 메서드에 정의된 허용 가능한 값 범위를 벗어났습니다.

암호화 작업을 완료할 수 없습니다.

적용 대상