public class CreateEcKeyOptions extends CreateKeyOptions
| Constructor and Description |
|---|
CreateEcKeyOptions(String name)
Creates a
CreateEcKeyOptions with name as name of the EC key. |
| Modifier and Type | Method and Description |
|---|---|
KeyCurveName |
getCurveName()
Get the curve.
|
Boolean |
isHardwareProtected()
Get the HSM value of the key being created.
|
CreateEcKeyOptions |
setCurveName(KeyCurveName curveName)
Set the curve name.
|
CreateEcKeyOptions |
setEnabled(Boolean enabled)
Set a value that indicates if the key is enabled.
|
CreateEcKeyOptions |
setExpiresOn(OffsetDateTime expiresOn)
Set the
expires UTC time. |
CreateEcKeyOptions |
setHardwareProtected(Boolean hardwareProtected)
Set whether the key being created is of HSM type or not.
|
CreateEcKeyOptions |
setKeyOperations(KeyOperation... keyOperations)
Set the key operations.
|
CreateEcKeyOptions |
setNotBefore(OffsetDateTime notBefore)
Set the
notBefore UTC time. |
CreateEcKeyOptions |
setTags(Map<String,String> tags)
Set the tags to be associated with the key.
|
getExpiresOn, getKeyOperations, getKeyType, getName, getNotBefore, getTags, isEnabledpublic CreateEcKeyOptions(String name)
CreateEcKeyOptions with name as name of the EC key.name - The name of the EC key.public KeyCurveName getCurveName()
public CreateEcKeyOptions setCurveName(KeyCurveName curveName)
curveName - The curve name to set.CreateEcKeyOptions object.public CreateEcKeyOptions setKeyOperations(KeyOperation... keyOperations)
setKeyOperations in class CreateKeyOptionskeyOperations - The key operations to set.CreateEcKeyOptions object.public CreateEcKeyOptions setNotBefore(OffsetDateTime notBefore)
notBefore UTC time.setNotBefore in class CreateKeyOptionsnotBefore - The notBefore UTC time to set.CreateEcKeyOptions object.public CreateEcKeyOptions setExpiresOn(OffsetDateTime expiresOn)
expires UTC time.setExpiresOn in class CreateKeyOptionsexpiresOn - The expiry time to set for the key.CreateEcKeyOptions object.public CreateEcKeyOptions setTags(Map<String,String> tags)
setTags in class CreateKeyOptionstags - The tags to set.CreateEcKeyOptions object.public CreateEcKeyOptions setEnabled(Boolean enabled)
setEnabled in class CreateKeyOptionsenabled - The enabled value to set.CreateEcKeyOptions object.public CreateEcKeyOptions setHardwareProtected(Boolean hardwareProtected)
hardwareProtected - The HSM value to set.CreateEcKeyOptions object.public Boolean isHardwareProtected()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.