Share via


JsonWebKey.HasPrivateKey Method ()

 

Specifies whether this instance contains a private key.

Namespace:   Microsoft.Azure.KeyVault.WebKey
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Syntax

public virtual bool HasPrivateKey()
public:
virtual bool HasPrivateKey()
abstract HasPrivateKey : unit -> bool
override HasPrivateKey : unit -> bool
Public Overridable Function HasPrivateKey As Boolean

Return Value

Type: System.Boolean

true if this instance contains a private key; otherwise, false.

See Also

JsonWebKey Class
Microsoft.Azure.KeyVault.WebKey Namespace

Return to top