Class KeyProperties
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.KeyProperties
-
public class KeyProperties extends Object
Properties of the key pair backing a certificate.
-
-
Constructor Summary
Constructors Constructor Description KeyProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
exportable
public Boolean exportable()
Get the exportable value.- Returns:
- the exportable value
-
withExportable
public KeyProperties withExportable(Boolean exportable)
Set the exportable value.- Parameters:
exportable
- the exportable value to set- Returns:
- the KeyProperties object itself.
-
keyType
public JsonWebKeyType keyType()
Get the keyType value.- Returns:
- the keyType value
-
withKeyType
public KeyProperties withKeyType(JsonWebKeyType keyType)
Set the keyType value.- Parameters:
keyType
- the keyType value to set- Returns:
- the KeyProperties object itself.
-
keySize
public Integer keySize()
Get the keySize value.- Returns:
- the keySize value
-
withKeySize
public KeyProperties withKeySize(Integer keySize)
Set the keySize value.- Parameters:
keySize
- the keySize value to set- Returns:
- the KeyProperties object itself.
-
reuseKey
public Boolean reuseKey()
Get the reuseKey value.- Returns:
- the reuseKey value
-
withReuseKey
public KeyProperties withReuseKey(Boolean reuseKey)
Set the reuseKey value.- Parameters:
reuseKey
- the reuseKey value to set- Returns:
- the KeyProperties object itself.
-
curve
public JsonWebKeyCurveName curve()
Get the curve value.- Returns:
- the curve value
-
withCurve
public KeyProperties withCurve(JsonWebKeyCurveName curve)
Set the curve value.- Parameters:
curve
- the curve value to set- Returns:
- the KeyProperties object itself.
-
-