@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateKeyFlagsV3 extends Object implements Serializable, Cloneable, StructuredPojo
Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.
Constructor and Description |
---|
PrivateKeyFlagsV3() |
Modifier and Type | Method and Description |
---|---|
PrivateKeyFlagsV3 |
clone() |
boolean |
equals(Object obj) |
String |
getClientVersion()
Defines the minimum client compatibility.
|
Boolean |
getExportableKey()
Allows the private key to be exported.
|
Boolean |
getRequireAlternateSignatureAlgorithm()
Reguires the PKCS #1 v2.1 signature format for certificates.
|
Boolean |
getStrongKeyProtectionRequired()
Requirer user input when using the private key for enrollment.
|
int |
hashCode() |
Boolean |
isExportableKey()
Allows the private key to be exported.
|
Boolean |
isRequireAlternateSignatureAlgorithm()
Reguires the PKCS #1 v2.1 signature format for certificates.
|
Boolean |
isStrongKeyProtectionRequired()
Requirer user input when using the private key for enrollment.
|
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)
Reguires the PKCS #1 v2.1 signature format for certificates.
|
void |
setStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Requirer user input when using the private key for enrollment.
|
String |
toString()
Returns a string representation of this object.
|
PrivateKeyFlagsV3 |
withClientVersion(ClientCompatibilityV3 clientVersion)
Defines the minimum client compatibility.
|
PrivateKeyFlagsV3 |
withClientVersion(String clientVersion)
Defines the minimum client compatibility.
|
PrivateKeyFlagsV3 |
withExportableKey(Boolean exportableKey)
Allows the private key to be exported.
|
PrivateKeyFlagsV3 |
withRequireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm)
Reguires the PKCS #1 v2.1 signature format for certificates.
|
PrivateKeyFlagsV3 |
withStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Requirer user input when using the private key for enrollment.
|
public void setClientVersion(String clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV3
public String getClientVersion()
Defines the minimum client compatibility.
ClientCompatibilityV3
public PrivateKeyFlagsV3 withClientVersion(String clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV3
public PrivateKeyFlagsV3 withClientVersion(ClientCompatibilityV3 clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV3
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 PrivateKeyFlagsV3 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)
Reguires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
requireAlternateSignatureAlgorithm
- Reguires 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()
Reguires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
public PrivateKeyFlagsV3 withRequireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm)
Reguires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
requireAlternateSignatureAlgorithm
- Reguires 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()
Reguires 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 setStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Requirer user input when using the private key for enrollment.
strongKeyProtectionRequired
- Requirer user input when using the private key for enrollment.public Boolean getStrongKeyProtectionRequired()
Requirer user input when using the private key for enrollment.
public PrivateKeyFlagsV3 withStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Requirer user input when using the private key for enrollment.
strongKeyProtectionRequired
- Requirer user input when using the private key for enrollment.public Boolean isStrongKeyProtectionRequired()
Requirer user input when using the private key for enrollment.
public String toString()
toString
in class Object
Object.toString()
public PrivateKeyFlagsV3 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.