pub enum RdnType {
Show 14 variants
Cn,
L,
St,
O,
Ou,
C,
Street,
Dc,
Uid,
BusinessCategory,
JurisdictionCountryName,
SerialNumber,
OrganizationIdentifier,
OrganizationalUnitName,
}Expand description
A relative distinguished name type.
This is the type of a single component of a full DN. We only support a select set of RDN types:
the Authorization Server shall accept only the AttributeTypes (descriptors) defined in the last paragraph of clause 3 RFC4514 in string format, it shall also accept in OID format, with their values in ASN.1, all the AttributeTypes defined in Distinguished Name Open Finance Brasil x.509 Certificate Standards or added by the Certificate Authority.
Variants§
Cn
Common name.
L
Locality name.
St
State or province name.
O
Organization name.
Ou
Organizational unit name.
C
Country name.
Street
Street address.
Dc
Domain component.
Uid
User ID.
BusinessCategory
Type of business category.
JurisdictionCountryName
Jurisdiction country name.
SerialNumber
National Register of Legal Personnel (CNPJ) of the legal entity holding the certificate.
OrganizationIdentifier
Participant Code associated with the CNPJ listed in the Directory Service of Open Finance Brasil.
OrganizationalUnitName
Participant Code associated with the CNPJ listed in the Directory Service of Open Finance Brasil.
Trait Implementations§
Source§impl FromStr for RdnType
Parse from the canonical string format:
https://datatracker.ietf.org/doc/html/rfc4514.
impl FromStr for RdnType
Parse from the canonical string format: https://datatracker.ietf.org/doc/html/rfc4514.