@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateKeyFlagsV4 extends Object implements Serializable, Cloneable, StructuredPojo
Private key flags for v4 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, if an alternate signature algorithm should be used, and if certificates are renewed using the same private key.
Constructor and Description |
---|
PrivateKeyFlagsV4() |
Modifier and Type | Method and Description |
---|---|
PrivateKeyFlagsV4 |
clone() |
boolean |
equals(Object obj) |
String |
getClientVersion()
Defines the minimum client compatibility.
|
Boolean |
getExportableKey()
Allows the private key to be exported.
|
Boolean |
getRequireAlternateSignatureAlgorithm()
Requires the PKCS #1 v2.1 signature format for certificates.
|
Boolean |
getRequireSameKeyRenewal()
Renew certificate using the same private key.
|
Boolean |
getStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
|
Boolean |
getUseLegacyProvider()
Specifies the cryptographic service provider category used to generate private keys.
|
int |
hashCode() |
Boolean |
isExportableKey()
Allows the private key to be exported.
|
Boolean |
isRequireAlternateSignatureAlgorithm()
Requires the PKCS #1 v2.1 signature format for certificates.
|
Boolean |
isRequireSameKeyRenewal()
Renew certificate using the same private key.
|
Boolean |
isStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
|
Boolean |
isUseLegacyProvider()
Specifies the cryptographic service provider category used to generate private keys.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientVersion(String clientVersion)
Defines the minimum client compatibility.
|
void |
setExportableKey(Boolean exportableKey)
Allows the private key to be exported.
|
void |
setRequireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm)
Requires the PKCS #1 v2.1 signature format for certificates.
|
void |
setRequireSameKeyRenewal(Boolean requireSameKeyRenewal)
Renew certificate using the same private key.
|
void |
setStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
|
void |
setUseLegacyProvider(Boolean useLegacyProvider)
Specifies the cryptographic service provider category used to generate private keys.
|
String |
toString()
Returns a string representation of this object.
|
PrivateKeyFlagsV4 |
withClientVersion(ClientCompatibilityV4 clientVersion)
Defines the minimum client compatibility.
|
PrivateKeyFlagsV4 |
withClientVersion(String clientVersion)
Defines the minimum client compatibility.
|
PrivateKeyFlagsV4 |
withExportableKey(Boolean exportableKey)
Allows the private key to be exported.
|
PrivateKeyFlagsV4 |
withRequireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm)
Requires the PKCS #1 v2.1 signature format for certificates.
|
PrivateKeyFlagsV4 |
withRequireSameKeyRenewal(Boolean requireSameKeyRenewal)
Renew certificate using the same private key.
|
PrivateKeyFlagsV4 |
withStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
|
PrivateKeyFlagsV4 |
withUseLegacyProvider(Boolean useLegacyProvider)
Specifies the cryptographic service provider category used to generate private keys.
|
public void setClientVersion(String clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV4
public String getClientVersion()
Defines the minimum client compatibility.
ClientCompatibilityV4
public PrivateKeyFlagsV4 withClientVersion(String clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV4
public PrivateKeyFlagsV4 withClientVersion(ClientCompatibilityV4 clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV4
public void setExportableKey(Boolean exportableKey)
Allows the private key to be exported.
exportableKey
- Allows the private key to be exported.public Boolean getExportableKey()
Allows the private key to be exported.
public PrivateKeyFlagsV4 withExportableKey(Boolean exportableKey)
Allows the private key to be exported.
exportableKey
- Allows the private key to be exported.public Boolean isExportableKey()
Allows the private key to be exported.
public void setRequireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm)
Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
requireAlternateSignatureAlgorithm
- Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and
applications can accept this signature format.public Boolean getRequireAlternateSignatureAlgorithm()
Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
public PrivateKeyFlagsV4 withRequireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm)
Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
requireAlternateSignatureAlgorithm
- Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and
applications can accept this signature format.public Boolean isRequireAlternateSignatureAlgorithm()
Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
public void setRequireSameKeyRenewal(Boolean requireSameKeyRenewal)
Renew certificate using the same private key.
requireSameKeyRenewal
- Renew certificate using the same private key.public Boolean getRequireSameKeyRenewal()
Renew certificate using the same private key.
public PrivateKeyFlagsV4 withRequireSameKeyRenewal(Boolean requireSameKeyRenewal)
Renew certificate using the same private key.
requireSameKeyRenewal
- Renew certificate using the same private key.public Boolean isRequireSameKeyRenewal()
Renew certificate using the same private key.
public void setStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
strongKeyProtectionRequired
- Require user input when using the private key for enrollment.public Boolean getStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
public PrivateKeyFlagsV4 withStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
strongKeyProtectionRequired
- Require user input when using the private key for enrollment.public Boolean isStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
public void setUseLegacyProvider(Boolean useLegacyProvider)
Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.
useLegacyProvider
- Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use
Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.public Boolean getUseLegacyProvider()
Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.
public PrivateKeyFlagsV4 withUseLegacyProvider(Boolean useLegacyProvider)
Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.
useLegacyProvider
- Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use
Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.public Boolean isUseLegacyProvider()
Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.
public String toString()
toString
in class Object
Object.toString()
public PrivateKeyFlagsV4 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.