AesGcm 클래스

정의

GCM(Galois/Counter Mode) 모드의 작업을 사용하는 카운터와 함께 사용할 AES(Advanced Encryption Standard) 키를 나타냅니다.

public ref class AesGcm sealed : IDisposable
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public sealed class AesGcm : IDisposable
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public sealed class AesGcm : IDisposable
public sealed class AesGcm : IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type AesGcm = class
    interface IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
type AesGcm = class
    interface IDisposable
type AesGcm = class
    interface IDisposable
Public NotInheritable Class AesGcm
Implements IDisposable
상속
AesGcm
특성
구현

생성자

AesGcm(Byte[])
사용되지 않음.

제공된 키를 사용하여 AesGcm 클래스의 새 인스턴스를 초기화합니다.

AesGcm(Byte[], Int32)

제공된 키와 필수 태그 크기를 사용하여 클래스의 AesGcm 새 instance 초기화합니다.

AesGcm(ReadOnlySpan<Byte>)
사용되지 않음.

제공된 키를 사용하여 AesGcm 클래스의 새 인스턴스를 초기화합니다.

AesGcm(ReadOnlySpan<Byte>, Int32)

제공된 키와 필수 태그 크기를 사용하여 클래스의 AesGcm 새 instance 초기화합니다.

속성

IsSupported

알고리즘이 현재 플랫폼에서 지원되는지 여부를 나타내는 값을 가져옵니다.

NonceByteSizes

이 인스턴스에서 지원하는 nonce 크기(바이트)를 가져옵니다.

TagByteSizes

이 인스턴스에서 지원하는 태그 크기(바이트)를 가져옵니다.

TagSizeInBytes

태그의 크기를 바이트 단위로 가져옵니다.

메서드

Decrypt(Byte[], Byte[], Byte[], Byte[], Byte[])

인증 태그의 유효성을 검사할 수 있는 경우 제공된 대상 버퍼의 암호 텍스트를 해독합니다.

Decrypt(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)

인증 태그의 유효성을 검사할 수 있는 경우 제공된 대상 버퍼의 암호 텍스트를 해독합니다.

Dispose()

AesGcm 클래스의 현재 인스턴스에서 사용하는 리소스를 해제합니다.

Encrypt(Byte[], Byte[], Byte[], Byte[], Byte[])

일반 텍스트를 암호화 텍스트 대상 버퍼로 암호화하고 인증 태그를 별도의 버퍼로 생성합니다.

Encrypt(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, Span<Byte>, ReadOnlySpan<Byte>)

일반 텍스트를 암호화 텍스트 대상 버퍼로 암호화하고 인증 태그를 별도의 버퍼로 생성합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상