Condividi tramite


KeyModelFactory.JsonWebKey Method

Definition

Initializes a new instance of JsonWebKey for mocking purposes.

public static Azure.Security.KeyVault.Keys.JsonWebKey JsonWebKey (Azure.Security.KeyVault.Keys.KeyType keyType, string id = default, System.Collections.Generic.IEnumerable<Azure.Security.KeyVault.Keys.KeyOperation> keyOps = default, Azure.Security.KeyVault.Keys.KeyCurveName? curveName = default, byte[] d = default, byte[] dp = default, byte[] dq = default, byte[] e = default, byte[] k = default, byte[] n = default, byte[] p = default, byte[] q = default, byte[] qi = default, byte[] t = default, byte[] x = default, byte[] y = default);
static member JsonWebKey : Azure.Security.KeyVault.Keys.KeyType * string * seq<Azure.Security.KeyVault.Keys.KeyOperation> * Nullable<Azure.Security.KeyVault.Keys.KeyCurveName> * byte[] * byte[] * byte[] * byte[] * byte[] * byte[] * byte[] * byte[] * byte[] * byte[] * byte[] * byte[] -> Azure.Security.KeyVault.Keys.JsonWebKey
Public Shared Function JsonWebKey (keyType As KeyType, Optional id As String = Nothing, Optional keyOps As IEnumerable(Of KeyOperation) = Nothing, Optional curveName As Nullable(Of KeyCurveName) = Nothing, Optional d As Byte() = Nothing, Optional dp As Byte() = Nothing, Optional dq As Byte() = Nothing, Optional e As Byte() = Nothing, Optional k As Byte() = Nothing, Optional n As Byte() = Nothing, Optional p As Byte() = Nothing, Optional q As Byte() = Nothing, Optional qi As Byte() = Nothing, Optional t As Byte() = Nothing, Optional x As Byte() = Nothing, Optional y As Byte() = Nothing) As JsonWebKey

Parameters

keyType
KeyType

Sets the KeyType property.

id
String

Sets the Id property.

keyOps
IEnumerable<KeyOperation>

Sets the KeyOps property.

curveName
Nullable<KeyCurveName>

Sets the CurveName property.

d
Byte[]

Sets the D property.

dp
Byte[]

Sets the DP property.

dq
Byte[]

Sets the DQ property.

e
Byte[]

Sets the E property.

k
Byte[]

Sets the K property.

n
Byte[]

Sets the N property.

p
Byte[]

Sets the P property.

q
Byte[]

Sets the Q property.

qi
Byte[]

Sets the QI property.

t
Byte[]

Sets the T property.

x
Byte[]

Sets the X property.

y
Byte[]

Sets the Y property.

Returns

A new instance of JsonWebKey for mocking purposes.

Applies to