@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Extensions extends Object implements Serializable, Cloneable, StructuredPojo
Contains X.509 extension information for a certificate.
Constructor and Description |
---|
Extensions() |
Modifier and Type | Method and Description |
---|---|
Extensions |
clone() |
boolean |
equals(Object obj) |
List<PolicyInformation> |
getCertificatePolicies()
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID)
and optional qualifiers.
|
List<ExtendedKeyUsage> |
getExtendedKeyUsage()
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the
KeyUsage extension. |
KeyUsage |
getKeyUsage() |
List<GeneralName> |
getSubjectAlternativeNames()
The subject alternative name extension allows identities to be bound to the subject of the certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificatePolicies(Collection<PolicyInformation> certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID)
and optional qualifiers.
|
void |
setExtendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the
KeyUsage extension. |
void |
setKeyUsage(KeyUsage keyUsage) |
void |
setSubjectAlternativeNames(Collection<GeneralName> subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate.
|
String |
toString()
Returns a string representation of this object.
|
Extensions |
withCertificatePolicies(Collection<PolicyInformation> certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID)
and optional qualifiers.
|
Extensions |
withCertificatePolicies(PolicyInformation... certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID)
and optional qualifiers.
|
Extensions |
withExtendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the
KeyUsage extension. |
Extensions |
withExtendedKeyUsage(ExtendedKeyUsage... extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the
KeyUsage extension. |
Extensions |
withKeyUsage(KeyUsage keyUsage) |
Extensions |
withSubjectAlternativeNames(Collection<GeneralName> subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate.
|
Extensions |
withSubjectAlternativeNames(GeneralName... subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate.
|
public List<PolicyInformation> getCertificatePolicies()
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
public void setCertificatePolicies(Collection<PolicyInformation> certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
certificatePolicies
- Contains a sequence of one or more policy information terms, each of which consists of an object
identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
public Extensions withCertificatePolicies(PolicyInformation... certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
NOTE: This method appends the values to the existing list (if any). Use
setCertificatePolicies(java.util.Collection)
or withCertificatePolicies(java.util.Collection)
if you want to override the existing values.
certificatePolicies
- Contains a sequence of one or more policy information terms, each of which consists of an object
identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
public Extensions withCertificatePolicies(Collection<PolicyInformation> certificatePolicies)
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
certificatePolicies
- Contains a sequence of one or more policy information terms, each of which consists of an object
identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
public List<ExtendedKeyUsage> getExtendedKeyUsage()
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the KeyUsage
extension.
KeyUsage
extension.public void setExtendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the KeyUsage
extension.
extendedKeyUsage
- Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage
extension.public Extensions withExtendedKeyUsage(ExtendedKeyUsage... extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the KeyUsage
extension.
NOTE: This method appends the values to the existing list (if any). Use
setExtendedKeyUsage(java.util.Collection)
or withExtendedKeyUsage(java.util.Collection)
if you
want to override the existing values.
extendedKeyUsage
- Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage
extension.public Extensions withExtendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated
in the KeyUsage
extension.
extendedKeyUsage
- Specifies additional purposes for which the certified public key may be used other than basic purposes
indicated in the KeyUsage
extension.public void setKeyUsage(KeyUsage keyUsage)
keyUsage
- public KeyUsage getKeyUsage()
public Extensions withKeyUsage(KeyUsage keyUsage)
keyUsage
- public List<GeneralName> getSubjectAlternativeNames()
The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.
public void setSubjectAlternativeNames(Collection<GeneralName> subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.
subjectAlternativeNames
- The subject alternative name extension allows identities to be bound to the subject of the certificate.
These identities may be included in addition to or in place of the identity in the subject field of the
certificate.public Extensions withSubjectAlternativeNames(GeneralName... subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.
NOTE: This method appends the values to the existing list (if any). Use
setSubjectAlternativeNames(java.util.Collection)
or
withSubjectAlternativeNames(java.util.Collection)
if you want to override the existing values.
subjectAlternativeNames
- The subject alternative name extension allows identities to be bound to the subject of the certificate.
These identities may be included in addition to or in place of the identity in the subject field of the
certificate.public Extensions withSubjectAlternativeNames(Collection<GeneralName> subjectAlternativeNames)
The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.
subjectAlternativeNames
- The subject alternative name extension allows identities to be bound to the subject of the certificate.
These identities may be included in addition to or in place of the identity in the subject field of the
certificate.public String toString()
toString
in class Object
Object.toString()
public Extensions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.