Class CfnCertificate.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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.AWS.ACMPCA.dll
Syntax (csharp)
public class GeneralNameProperty : Object, CfnCertificate.IGeneralNameProperty
Syntax (vb)
Public Class GeneralNameProperty
Inherits Object
Implements CfnCertificate.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 {
NameAssigner = "nameAssigner",
PartyName = "partyName"
},
IpAddress = "ipAddress",
OtherName = new OtherNameProperty {
TypeId = "typeId",
Value = "value"
},
RegisteredId = "registeredId",
Rfc822Name = "rfc822Name",
UniformResourceIdentifier = "uniformResourceIdentifier"
};
Synopsis
Constructors
GeneralNameProperty() |
Properties
DirectoryName | Contains information about the certificate subject. |
DnsName | Represents |
EdiPartyName | Represents |
IpAddress | Represents |
OtherName | Represents |
RegisteredId | Represents |
Rfc822Name | Represents |
UniformResourceIdentifier | Represents |
Constructors
GeneralNameProperty()
public GeneralNameProperty()
Properties
DirectoryName
Contains information about the certificate subject.
public object DirectoryName { get; set; }
Property Value
System.Object
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.
DnsName
Represents GeneralName
as a DNS name.
public string DnsName { get; set; }
Property Value
System.String
Remarks
EdiPartyName
Represents GeneralName
as an EdiPartyName
object.
public object EdiPartyName { get; set; }
Property Value
System.Object
Remarks
IpAddress
Represents GeneralName
as an IPv4 or IPv6 address.
public string IpAddress { get; set; }
Property Value
System.String
Remarks
OtherName
Represents GeneralName
using an OtherName
object.
public object OtherName { get; set; }
Property Value
System.Object
Remarks
RegisteredId
Represents GeneralName
as an object identifier (OID).
public string RegisteredId { get; set; }
Property Value
System.String
Remarks
Rfc822Name
Represents GeneralName
as an RFC 822 email address.
public string Rfc822Name { get; set; }
Property Value
System.String
Remarks
UniformResourceIdentifier
Represents GeneralName
as a URI.
public string UniformResourceIdentifier { get; set; }
Property Value
System.String