Instance Propertyswift-certificates 1.8.0X509
debugDescription
RelativeDistinguishedName.swift:146var debugDescription: String { get }
var debugDescription: String { get }
s4X50925RelativeDistinguishedNameV16debugDescriptionSSvp
What are these?2PEK
import X509
A library for working with X.509 certificates.
struct RelativeDistinguishedName
A RelativeDistinguishedName
is a collection of elements at a single level of a hierarchical DistinguishedName
.
@frozen struct String
A Unicode string value that is a collection of characters.
init()
Create an empty RelativeDistinguishedName
.
init(_ attribute: Attribute)
Construct a RelativeDistinguishedName
from a sequence of Attribute
.
init<AttributeSequence>(_ attributes: AttributeSequence) where AttributeSequence : Sequence, AttributeSequence.Element == RelativeDistinguishedName.Attribute
Construct a RelativeDistinguishedName
from a sequence of Attribute
.
init(derEncoded rootNode: ASN1Node, withIdentifier identifier: ASN1Identifier) throws
static var defaultIdentifier: ASN1Identifier { get }
var description: String { get }
var endIndex: Int { get }
var startIndex: Int { get }
subscript(position: Int) -> RelativeDistinguishedName.Attribute { get }
mutating func insert(_ attribute: RelativeDistinguishedName.Attribute)
Insert a new Attribute
into this RelativeDistinguishedName
.
mutating func insert<Attributes>(contentsOf attributes: Attributes) where Attributes : Collection, Attributes.Element == RelativeDistinguishedName.Attribute
Insert a Collection
of Attribute
s into this RelativeDistinguishedName
.
@discardableResult mutating func remove(at index: Int) -> Element
Removes and returns the Attribute
at the specified position.
mutating func removeAll(where shouldBeRemoved: (Attribute) throws -> Bool) rethrows
Removes all the Attribute
s that satisfy the given predicate.
func serialize(into coder: inout DER.Serializer, withIdentifier identifier: ASN1Identifier) throws
struct Attribute
A single attribute of a RelativeDistinguishedName
.