KeyModelFactory.JsonWebKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- keyOps
- IEnumerable<KeyOperation>
Sets the KeyOps property.
- curveName
- Nullable<KeyCurveName>
Sets the CurveName property.
Returns
A new instance of JsonWebKey for mocking purposes.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET