语言

Hpke 类

定义

public ref class Hpke abstract : IDisposable
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5009", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public abstract class Hpke : IDisposable
public abstract class Hpke : IDisposable
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5009", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type Hpke = class
    interface IDisposable
type Hpke = class
    interface IDisposable
Public MustInherit Class Hpke
Implements IDisposable
继承
Hpke
特性
实现

构造函数

名称 说明
Hpke(HpkeSuite)

属性

名称 说明
Suite

方法

名称 说明
CreatePskRecipient(Byte[], Byte[], Byte[], Byte[])
CreatePskRecipient(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
CreatePskRecipientCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
CreatePskSender(Byte[], Byte[], Byte[], Byte[])
CreatePskSender(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Byte[], ReadOnlySpan<Byte>)
CreatePskSender(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
CreatePskSenderCore(Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
CreateRecipient(Byte[], Byte[])
CreateRecipient(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
CreateRecipientCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
CreateSender(Byte[], ReadOnlySpan<Byte>)
CreateSender(Span<Byte>, ReadOnlySpan<Byte>)
CreateSenderCore(Span<Byte>, ReadOnlySpan<Byte>)
DeriveKey(HpkeSuite, Byte[])
DeriveKey(HpkeSuite, ReadOnlySpan<Byte>)
Dispose()
Dispose(Boolean)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
ExportDecapsulationKey()
ExportDecapsulationKey(Span<Byte>)
ExportDecapsulationKeyCore(Span<Byte>)
ExportEncapsulationKey()
ExportEncapsulationKey(Span<Byte>)
ExportEncapsulationKeyCore(Span<Byte>)
GenerateKey(HpkeSuite)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
ImportDecapsulationKey(HpkeSuite, Byte[])
ImportDecapsulationKey(HpkeSuite, ReadOnlySpan<Byte>)
ImportEncapsulationKey(HpkeSuite, Byte[])
ImportEncapsulationKey(HpkeSuite, ReadOnlySpan<Byte>)
IsSupported(HpkeSuite)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
Open(Byte[], Byte[], Byte[], Byte[])
Open(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
Open(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
OpenCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
Seal(Byte[], Byte[], Byte[], Byte[], Byte[])
Seal(ReadOnlySpan<Byte>, Byte[], Byte[], ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
Seal(ReadOnlySpan<Byte>, Span<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
SealCore(ReadOnlySpan<Byte>, Span<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于