Instance Propertyswift-certificates 1.8.0X509
oid
The identifier for this attribute type.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
var oid: ASN1ObjectIdentifier
Common values are stored in ASN1ObjectIdentifier.X509ExtensionID
.
The identifier for this attribute type.
var oid: ASN1ObjectIdentifier
s4X50925CertificateSigningRequestV9AttributeV3oid9SwiftASN10H16ObjectIdentifierVvp
What are these?4UXL2
Common values are stored in ASN1ObjectIdentifier.X509ExtensionID
.
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 ASN1ObjectIdentifier
An Object Identifier is a representation of some kind of object.
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.
static var defaultIdentifier: ASN1Identifier { get }
var description: String { get }
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