public class KeyProperties extends Object
| Constructor and Description |
|---|
KeyProperties() |
| Modifier and Type | Method and Description |
|---|---|
JsonWebKeyCurveName |
curve()
Get the curve value.
|
Boolean |
exportable()
Get the exportable value.
|
Integer |
keySize()
Get the keySize value.
|
JsonWebKeyType |
keyType()
Get the keyType value.
|
Boolean |
reuseKey()
Get the reuseKey value.
|
KeyProperties |
withCurve(JsonWebKeyCurveName curve)
Set the curve value.
|
KeyProperties |
withExportable(Boolean exportable)
Set the exportable value.
|
KeyProperties |
withKeySize(Integer keySize)
Set the keySize value.
|
KeyProperties |
withKeyType(JsonWebKeyType keyType)
Set the keyType value.
|
KeyProperties |
withReuseKey(Boolean reuseKey)
Set the reuseKey value.
|
public Boolean exportable()
public KeyProperties withExportable(Boolean exportable)
exportable - the exportable value to setpublic JsonWebKeyType keyType()
public KeyProperties withKeyType(JsonWebKeyType keyType)
keyType - the keyType value to setpublic Integer keySize()
public KeyProperties withKeySize(Integer keySize)
keySize - the keySize value to setpublic Boolean reuseKey()
public KeyProperties withReuseKey(Boolean reuseKey)
reuseKey - the reuseKey value to setpublic JsonWebKeyCurveName curve()
public KeyProperties withCurve(JsonWebKeyCurveName curve)
curve - the curve value to setCopyright © 2019 Microsoft Corporation. All rights reserved.