Instance Propertyswift-certificates 1.8.0X509
endIndex
DistinguishedName.swift:145var endIndex: Int { get }
var endIndex: Int { get }
import X509
A library for working with X.509 certificates.
struct DistinguishedName
A distinguished name is a name that uniquely identifies a specific entity.
@frozen struct Int
A signed integer value type.
init()
Construct a new empty DistinguishedName
.
init<AttributeSequence>(_ attributes: AttributeSequence) throws where AttributeSequence : Sequence, AttributeSequence.Element == RelativeDistinguishedName.Attribute
Construct a DistinguishedName
from a sequence of Attribute
.
init<RDNSequence>(_ rdns: RDNSequence) where RDNSequence : Sequence, RDNSequence.Element == RelativeDistinguishedName
Construct a DistinguishedName
from a sequence of RelativeDistinguishedName
.
init(@DistinguishedNameBuilder builder: () throws -> Result<DistinguishedName, any Error>) throws
Construct a DistinguishedName
using a DSL.
init(derEncoded rootNode: ASN1Node) throws
var debugDescription: String { get }
var description: String { get }
var startIndex: Int { get }
subscript(position: Int) -> RelativeDistinguishedName { get set }
mutating func replaceSubrange<NewElements>(_ subrange: Range<Int>, with newElements: NewElements) where NewElements : Collection, NewElements.Element == RelativeDistinguishedName
func serialize(into coder: inout DER.Serializer) throws
init(derEncoded rootNode: ASN1Node, withIdentifier identifier: ASN1Identifier) throws
static var defaultIdentifier: ASN1Identifier { get }
func serialize(into coder: inout DER.Serializer, withIdentifier identifier: ASN1Identifier) throws