Interface CfnCertificate.IGeneralNameProperty
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.
Namespace: Amazon.CDK.AWS.ACMPCA
Assembly: Amazon.CDK.AWS.ACMPCA.dll
Syntax (csharp)
public interface IGeneralNameProperty
Syntax (vb)
Public Interface 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
Properties
DirectoryName | Contains information about the certificate subject. |
DnsName | Represents |
EdiPartyName | Represents |
IpAddress | Represents |
OtherName | Represents |
RegisteredId | Represents |
Rfc822Name | Represents |
UniformResourceIdentifier | Represents |
Properties
DirectoryName
Contains information about the certificate subject.
virtual object DirectoryName { get; }
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.
virtual string DnsName { get; }
Property Value
System.String
Remarks
EdiPartyName
Represents GeneralName
as an EdiPartyName
object.
virtual object EdiPartyName { get; }
Property Value
System.Object
Remarks
IpAddress
Represents GeneralName
as an IPv4 or IPv6 address.
virtual string IpAddress { get; }
Property Value
System.String
Remarks
OtherName
Represents GeneralName
using an OtherName
object.
virtual object OtherName { get; }
Property Value
System.Object
Remarks
RegisteredId
Represents GeneralName
as an object identifier (OID).
virtual string RegisteredId { get; }
Property Value
System.String
Remarks
Rfc822Name
Represents GeneralName
as an RFC 822 email address.
virtual string Rfc822Name { get; }
Property Value
System.String
Remarks
UniformResourceIdentifier
Represents GeneralName
as a URI.
virtual string UniformResourceIdentifier { get; }
Property Value
System.String