CryptographicEngine 클래스

정의

콘텐츠를 암호화, 암호 해독 및 서명하고 디지털 서명을 확인합니다.

public ref class CryptographicEngine abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CryptographicEngine final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class CryptographicEngine
Public Class CryptographicEngine
상속
Object Platform::Object IInspectable CryptographicEngine
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

이 클래스에는 정적 메서드만 포함됩니다. 메서드를 사용하기 위해 클래스의 instance 만들 필요가 없습니다. 대신 클래스 이름 뒤에 점 연산자(.) 뒤에 메서드 이름을 사용합니다.

메서드

Decrypt(CryptographicKey, IBuffer, IBuffer)

대칭 또는 비대칭 알고리즘을 사용하여 이전에 암호화된 콘텐츠의 암호를 해독합니다.

DecryptAndAuthenticate(CryptographicKey, IBuffer, IBuffer, IBuffer, IBuffer)

데이터의 암호를 해독하고 인증합니다. 자세한 내용과 전체 코드 샘플 은 EncryptedAndAuthenticatedData를 참조하세요.

DecryptAsync(CryptographicKey, IBuffer, IBuffer)

제공된 키를 사용하여 암호화된 입력 데이터의 암호를 해독합니다.

DeriveKeyMaterial(CryptographicKey, KeyDerivationParameters, UInt32)

키 파생 함수를 사용하여 다른 키에서 키를 파생합니다. 자세한 내용은 KeyDerivationAlgorithmProviderKeyDerivationParameters 클래스를 참조하세요.

Encrypt(CryptographicKey, IBuffer, IBuffer)

대칭 또는 비대칭 알고리즘을 사용하여 데이터를 암호화합니다.

EncryptAndAuthenticate(CryptographicKey, IBuffer, IBuffer, IBuffer)

인증된 암호화를 수행합니다.

Sign(CryptographicKey, IBuffer)

디지털 콘텐츠에 서명합니다. 자세한 내용은 MAC, 해시 및 서명을 참조하세요.

SignAsync(CryptographicKey, IBuffer)

제공된 입력 데이터에 대한 해시를 계산한 다음, 지정된 키를 사용하여 계산된 해시에 서명합니다.

SignHashedData(CryptographicKey, IBuffer)

지정된 키를 사용하여 해시된 입력 데이터에 서명합니다.

SignHashedDataAsync(CryptographicKey, IBuffer)

지정된 키를 사용하여 해시된 입력 데이터에 서명합니다.

VerifySignature(CryptographicKey, IBuffer, IBuffer)

메시지 서명을 확인합니다.

VerifySignatureWithHashInput(CryptographicKey, IBuffer, IBuffer)

알려진 서명에 대해 지정된 입력 데이터의 서명을 확인합니다.

적용 대상

추가 정보