Class CfnCertificateAuthority.GeneralNameProperty
Describes an ASN.1 X.400 GeneralName as defined in RFC 5280 . Only one of the following naming options should be provided. Providing more than one option results in an InvalidArgsException error.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCertificateAuthority.GeneralNameProperty : CfnCertificateAuthority.IGeneralNameProperty
Syntax (vb)
Public Class CfnCertificateAuthority.GeneralNameProperty Implements CfnCertificateAuthority.IGeneralNameProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ACMPCA;
var generalNameProperty = new GeneralNameProperty {
DirectoryName = new SubjectProperty {
CommonName = "commonName",
Country = "country",
CustomAttributes = new [] { new CustomAttributeProperty {
ObjectIdentifier = "objectIdentifier",
Value = "value"
} },
DistinguishedNameQualifier = "distinguishedNameQualifier",
GenerationQualifier = "generationQualifier",
GivenName = "givenName",
Initials = "initials",
Locality = "locality",
Organization = "organization",
OrganizationalUnit = "organizationalUnit",
Pseudonym = "pseudonym",
SerialNumber = "serialNumber",
State = "state",
Surname = "surname",
Title = "title"
},
DnsName = "dnsName",
EdiPartyName = new EdiPartyNameProperty {
PartyName = "partyName",
// the properties below are optional
NameAssigner = "nameAssigner"
},
IpAddress = "ipAddress",
OtherName = new OtherNameProperty {
TypeId = "typeId",
Value = "value"
},
RegisteredId = "registeredId",
Rfc822Name = "rfc822Name",
UniformResourceIdentifier = "uniformResourceIdentifier"
};
Synopsis
Constructors
| GeneralNameProperty() | Describes an ASN.1 X.400 |
Properties
| DirectoryName | Contains information about the certificate subject. |
| DnsName | Represents |
| EdiPartyName | Represents |
| IpAddress | Represents |
| OtherName | Represents |
| RegisteredId | Represents |
| Rfc822Name | Represents |
| UniformResourceIdentifier | Represents |
Constructors
GeneralNameProperty()
Describes an ASN.1 X.400 GeneralName as defined in RFC 5280 . Only one of the following naming options should be provided. Providing more than one option results in an InvalidArgsException error.
public GeneralNameProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ACMPCA;
var generalNameProperty = new GeneralNameProperty {
DirectoryName = new SubjectProperty {
CommonName = "commonName",
Country = "country",
CustomAttributes = new [] { new CustomAttributeProperty {
ObjectIdentifier = "objectIdentifier",
Value = "value"
} },
DistinguishedNameQualifier = "distinguishedNameQualifier",
GenerationQualifier = "generationQualifier",
GivenName = "givenName",
Initials = "initials",
Locality = "locality",
Organization = "organization",
OrganizationalUnit = "organizationalUnit",
Pseudonym = "pseudonym",
SerialNumber = "serialNumber",
State = "state",
Surname = "surname",
Title = "title"
},
DnsName = "dnsName",
EdiPartyName = new EdiPartyNameProperty {
PartyName = "partyName",
// the properties below are optional
NameAssigner = "nameAssigner"
},
IpAddress = "ipAddress",
OtherName = new OtherNameProperty {
TypeId = "typeId",
Value = "value"
},
RegisteredId = "registeredId",
Rfc822Name = "rfc822Name",
UniformResourceIdentifier = "uniformResourceIdentifier"
};
Properties
DirectoryName
Contains information about the certificate subject.
public object? DirectoryName { get; set; }
Property Value
Remarks
The certificate can be one issued by your private certificate authority (CA) or it can be your private CA certificate. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate. The DN must be unique for each entity, but your private CA can issue more than one certificate with the same DN to the same entity.
Type union: either IResolvable or CfnCertificateAuthority.ISubjectProperty
DnsName
Represents GeneralName as a DNS name.
public string? DnsName { get; set; }
Property Value
Remarks
EdiPartyName
Represents GeneralName as an EdiPartyName object.
public object? EdiPartyName { get; set; }
Property Value
Remarks
IpAddress
Represents GeneralName as an IPv4 or IPv6 address.
public string? IpAddress { get; set; }
Property Value
Remarks
OtherName
Represents GeneralName using an OtherName object.
public object? OtherName { get; set; }
Property Value
Remarks
RegisteredId
Represents GeneralName as an object identifier (OID).
public string? RegisteredId { get; set; }
Property Value
Remarks
Rfc822Name
Represents GeneralName as an RFC 822 email address.
public string? Rfc822Name { get; set; }
Property Value
Remarks
UniformResourceIdentifier
Represents GeneralName as a URI.
public string? UniformResourceIdentifier { get; set; }