Static Propertyswift-certificates 1.8.0X509
defaultIdentifier
CSRAttribute.swift:100- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
static var defaultIdentifier: ASN1Identifier { get }
static var defaultIdentifier: ASN1Identifier { get }
s4X50925CertificateSigningRequestV9AttributeV17defaultIdentifier9SwiftASN10iG0VvpZ
What are these?3HMX6
import X509
A library for working with X.509 certificates.
struct Attribute
A general-purpose representation of a CertificateSigningRequest
attribute.
struct CertificateSigningRequest
A representation of a PKCS#10 Certificate Signing Request (CSR).
struct ASN1Identifier
An ASN1Identifier
is a representation of the abstract notion of an ASN.1 identifier.
init(_ extensionRequest: ExtensionRequest) throws
Wrap an ExtensionRequest
into a Attribute
.
init(derEncoded rootNode: ASN1Node, withIdentifier identifier: ASN1Identifier) throws
init(oid: ASN1ObjectIdentifier, values: [ASN1Any])
Construct a new attribute from its constituent parts.
var description: String { get }
var oid: ASN1ObjectIdentifier
The identifier for this attribute type.
var values: [ASN1Any]
The encoded bytes of the values of this attribute.
static func == (lhs: CertificateSigningRequest.Attribute, rhs: CertificateSigningRequest.Attribute) -> Bool
func hash(into hasher: inout Hasher)
func serialize(into coder: inout DER.Serializer, withIdentifier identifier: ASN1Identifier) throws