@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyUsageFlags extends Object implements Serializable, Cloneable, StructuredPojo
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate.
Constructor and Description |
---|
KeyUsageFlags() |
Modifier and Type | Method and Description |
---|---|
KeyUsageFlags |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDataEncipherment()
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without
the use of an intermediate symmetric cipher.
|
Boolean |
getDigitalSignature()
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
|
Boolean |
getKeyAgreement()
KeyAgreement is asserted when the subject public key is used for key agreement.
|
Boolean |
getKeyEncipherment()
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for
key transport.
|
Boolean |
getNonRepudiation()
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
|
int |
hashCode() |
Boolean |
isDataEncipherment()
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without
the use of an intermediate symmetric cipher.
|
Boolean |
isDigitalSignature()
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
|
Boolean |
isKeyAgreement()
KeyAgreement is asserted when the subject public key is used for key agreement.
|
Boolean |
isKeyEncipherment()
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for
key transport.
|
Boolean |
isNonRepudiation()
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataEncipherment(Boolean dataEncipherment)
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without
the use of an intermediate symmetric cipher.
|
void |
setDigitalSignature(Boolean digitalSignature)
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
|
void |
setKeyAgreement(Boolean keyAgreement)
KeyAgreement is asserted when the subject public key is used for key agreement.
|
void |
setKeyEncipherment(Boolean keyEncipherment)
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for
key transport.
|
void |
setNonRepudiation(Boolean nonRepudiation)
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
|
String |
toString()
Returns a string representation of this object.
|
KeyUsageFlags |
withDataEncipherment(Boolean dataEncipherment)
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without
the use of an intermediate symmetric cipher.
|
KeyUsageFlags |
withDigitalSignature(Boolean digitalSignature)
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
|
KeyUsageFlags |
withKeyAgreement(Boolean keyAgreement)
KeyAgreement is asserted when the subject public key is used for key agreement.
|
KeyUsageFlags |
withKeyEncipherment(Boolean keyEncipherment)
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for
key transport.
|
KeyUsageFlags |
withNonRepudiation(Boolean nonRepudiation)
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
|
public void setDataEncipherment(Boolean dataEncipherment)
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.
dataEncipherment
- DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data
without the use of an intermediate symmetric cipher.public Boolean getDataEncipherment()
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.
public KeyUsageFlags withDataEncipherment(Boolean dataEncipherment)
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.
dataEncipherment
- DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data
without the use of an intermediate symmetric cipher.public Boolean isDataEncipherment()
DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.
public void setDigitalSignature(Boolean digitalSignature)
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
digitalSignature
- The digitalSignature is asserted when the subject public key is used for verifying digital signatures.public Boolean getDigitalSignature()
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
public KeyUsageFlags withDigitalSignature(Boolean digitalSignature)
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
digitalSignature
- The digitalSignature is asserted when the subject public key is used for verifying digital signatures.public Boolean isDigitalSignature()
The digitalSignature is asserted when the subject public key is used for verifying digital signatures.
public void setKeyAgreement(Boolean keyAgreement)
KeyAgreement is asserted when the subject public key is used for key agreement.
keyAgreement
- KeyAgreement is asserted when the subject public key is used for key agreement.public Boolean getKeyAgreement()
KeyAgreement is asserted when the subject public key is used for key agreement.
public KeyUsageFlags withKeyAgreement(Boolean keyAgreement)
KeyAgreement is asserted when the subject public key is used for key agreement.
keyAgreement
- KeyAgreement is asserted when the subject public key is used for key agreement.public Boolean isKeyAgreement()
KeyAgreement is asserted when the subject public key is used for key agreement.
public void setKeyEncipherment(Boolean keyEncipherment)
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.
keyEncipherment
- KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys,
i.e., for key transport.public Boolean getKeyEncipherment()
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.
public KeyUsageFlags withKeyEncipherment(Boolean keyEncipherment)
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.
keyEncipherment
- KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys,
i.e., for key transport.public Boolean isKeyEncipherment()
KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.
public void setNonRepudiation(Boolean nonRepudiation)
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
nonRepudiation
- NonRepudiation is asserted when the subject public key is used to verify digital signatures.public Boolean getNonRepudiation()
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
public KeyUsageFlags withNonRepudiation(Boolean nonRepudiation)
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
nonRepudiation
- NonRepudiation is asserted when the subject public key is used to verify digital signatures.public Boolean isNonRepudiation()
NonRepudiation is asserted when the subject public key is used to verify digital signatures.
public String toString()
toString
in class Object
Object.toString()
public KeyUsageFlags clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.