CVCPublicKey
public struct CVCPublicKey
ASN.1 encoded public key
-
Object Identifier
Declaration
Swift
public let oid: ASN1Kit.ObjectIdentifier
-
Raw public key material. Format could be either: - RSAPubKey - ECDSAPubKey - DHPubKey
Declaration
Swift
public let pubKey: Data
-
Declaration
Swift
public init(from asn1: ASN1Object) throws
-
Declaration
Swift
public func asn1encode(tag: ASN1DecodedTag?) throws -> ASN1Object
-
CVCPublicKey tag info
See moreDeclaration
Swift
public struct Tag
-
Create a CVCPublicKey from ASN.1 Object
Throws
GemCvCertificate.ErrorDeclaration
Swift
public static func from(asn1: ASN1Object) throws -> CVCPublicKey
Parameters
asn1
object should be constructed as described in gemSpec_PKI#6.7.5 [0x7F49]
Return Value
Initialized CVCPublicKey