Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​IdentityModel.​Tokens.​EcdhKeyExchangeProvider
Assembly: Microsoft.IdentityModel.Tokens
Inheritance: object → EcdhKeyExchangeProvider
Provides a Security Key that can be used as Content Encryption Key (CEK) for use with a JWE
Properties
public
int
KeyDataLen
Number of bits in the desired output key
Methods
public
SecurityKey
GenerateKdf​(string apu = null,
string apv = null)
Generates the KDF
Returns Returns <see cref="T:Microsoft.IdentityModel.Tokens.SecurityKey" /> that represents the key generated
apu
Agreement PartyUInfo (optional). When used, the PartyVInfo value contains information about the producer,
represented as a base64url-encoded string.
apv
Agreement PartyVInfo (optional). When used, the PartyUInfo value contains information about the recipient,
represented as a base64url-encoded string.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object