Certificate

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.crypto.x509

 

constructor

 

constructor

 

Certificate()

 

init()

constructor (Certificate)

 

constructor(value: Certificate)

 

Certificate(Certificate value)

 

init(_ value: Certificate)

Parameters:

  • value:

 

constructor(aRaw: Slice<Byte>; aRawTBSCertificate: Slice<Byte>; aRawSubjectPublicKeyInfo: Slice<Byte>; aRawSubject: Slice<Byte>; aRawIssuer: Slice<Byte>; aSignature: Slice<Byte>; aSignatureAlgorithm: SignatureAlgorithm; aPublicKeyAlgorithm: PublicKeyAlgorithm; aPublicKey: Object; aVersion: int; aSerialNumber: Reference<Int>; aIssuer: Name; aSubject: Name; aNotBefore: Time; aNotAfter: Time; aKeyUsage: KeyUsage; aExtensions: Slice<Extension>; aExtraExtensions: Slice<Extension>; aUnhandledCriticalExtensions: Slice<ObjectIdentifier>; aExtKeyUsage: Slice<ExtKeyUsage>; aUnknownExtKeyUsage: Slice<ObjectIdentifier>; aBasicConstraintsValid: bool; aIsCA: bool; aMaxPathLen: int; aMaxPathLenZero: bool; aSubjectKeyId: Slice<Byte>; aAuthorityKeyId: Slice<Byte>; aOCSPServer: Slice<string>; aIssuingCertificateURL: Slice<string>; aDNSNames: Slice<string>; aEmailAddresses: Slice<string>; aIPAddresses: Slice<IP>; aURIs: Slice<Reference<URL>>; aPermittedDNSDomainsCritical: bool; aPermittedDNSDomains: Slice<string>; aExcludedDNSDomains: Slice<string>; aPermittedIPRanges: Slice<Reference<IPNet>>; aExcludedIPRanges: Slice<Reference<IPNet>>; aPermittedEmailAddresses: Slice<string>; aExcludedEmailAddresses: Slice<string>; aPermittedURIDomains: Slice<string>; aExcludedURIDomains: Slice<string>; aCRLDistributionPoints: Slice<string>; aPolicyIdentifiers: Slice<ObjectIdentifier>)

 

Certificate(Slice<Byte> aRaw, Slice<Byte> aRawTBSCertificate, Slice<Byte> aRawSubjectPublicKeyInfo, Slice<Byte> aRawSubject, Slice<Byte> aRawIssuer, Slice<Byte> aSignature, SignatureAlgorithm aSignatureAlgorithm, PublicKeyAlgorithm aPublicKeyAlgorithm, Object aPublicKey, int aVersion, Reference<Int> aSerialNumber, Name aIssuer, Name aSubject, Time aNotBefore, Time aNotAfter, KeyUsage aKeyUsage, Slice<Extension> aExtensions, Slice<Extension> aExtraExtensions, Slice<ObjectIdentifier> aUnhandledCriticalExtensions, Slice<ExtKeyUsage> aExtKeyUsage, Slice<ObjectIdentifier> aUnknownExtKeyUsage, bool aBasicConstraintsValid, bool aIsCA, int aMaxPathLen, bool aMaxPathLenZero, Slice<Byte> aSubjectKeyId, Slice<Byte> aAuthorityKeyId, Slice<string> aOCSPServer, Slice<string> aIssuingCertificateURL, Slice<string> aDNSNames, Slice<string> aEmailAddresses, Slice<IP> aIPAddresses, Slice<Reference<URL>> aURIs, bool aPermittedDNSDomainsCritical, Slice<string> aPermittedDNSDomains, Slice<string> aExcludedDNSDomains, Slice<Reference<IPNet>> aPermittedIPRanges, Slice<Reference<IPNet>> aExcludedIPRanges, Slice<string> aPermittedEmailAddresses, Slice<string> aExcludedEmailAddresses, Slice<string> aPermittedURIDomains, Slice<string> aExcludedURIDomains, Slice<string> aCRLDistributionPoints, Slice<ObjectIdentifier> aPolicyIdentifiers)

 

init(_ aRaw: Slice<Byte>, _ aRawTBSCertificate: Slice<Byte>, _ aRawSubjectPublicKeyInfo: Slice<Byte>, _ aRawSubject: Slice<Byte>, _ aRawIssuer: Slice<Byte>, _ aSignature: Slice<Byte>, _ aSignatureAlgorithm: SignatureAlgorithm, _ aPublicKeyAlgorithm: PublicKeyAlgorithm, _ aPublicKey: Object, _ aVersion: int, _ aSerialNumber: Reference<Int>, _ aIssuer: Name, _ aSubject: Name, _ aNotBefore: Time, _ aNotAfter: Time, _ aKeyUsage: KeyUsage, _ aExtensions: Slice<Extension>, _ aExtraExtensions: Slice<Extension>, _ aUnhandledCriticalExtensions: Slice<ObjectIdentifier>, _ aExtKeyUsage: Slice<ExtKeyUsage>, _ aUnknownExtKeyUsage: Slice<ObjectIdentifier>, _ aBasicConstraintsValid: bool, _ aIsCA: bool, _ aMaxPathLen: int, _ aMaxPathLenZero: bool, _ aSubjectKeyId: Slice<Byte>, _ aAuthorityKeyId: Slice<Byte>, _ aOCSPServer: Slice<string>, _ aIssuingCertificateURL: Slice<string>, _ aDNSNames: Slice<string>, _ aEmailAddresses: Slice<string>, _ aIPAddresses: Slice<IP>, _ aURIs: Slice<Reference<URL>>, _ aPermittedDNSDomainsCritical: bool, _ aPermittedDNSDomains: Slice<string>, _ aExcludedDNSDomains: Slice<string>, _ aPermittedIPRanges: Slice<Reference<IPNet>>, _ aExcludedIPRanges: Slice<Reference<IPNet>>, _ aPermittedEmailAddresses: Slice<string>, _ aExcludedEmailAddresses: Slice<string>, _ aPermittedURIDomains: Slice<string>, _ aExcludedURIDomains: Slice<string>, _ aCRLDistributionPoints: Slice<string>, _ aPolicyIdentifiers: Slice<ObjectIdentifier>)

Parameters:

  • aRaw:
  • aRawTBSCertificate:
  • aRawSubjectPublicKeyInfo:
  • aRawSubject:
  • aRawIssuer:
  • aSignature:
  • aSignatureAlgorithm:
  • aPublicKeyAlgorithm:
  • aPublicKey:
  • aVersion:
  • aSerialNumber:
  • aIssuer:
  • aSubject:
  • aNotBefore:
  • aNotAfter:
  • aKeyUsage:
  • aExtensions:
  • aExtraExtensions:
  • aUnhandledCriticalExtensions:
  • aExtKeyUsage:
  • aUnknownExtKeyUsage:
  • aBasicConstraintsValid:
  • aIsCA:
  • aMaxPathLen:
  • aMaxPathLenZero:
  • aSubjectKeyId:
  • aAuthorityKeyId:
  • aOCSPServer:
  • aIssuingCertificateURL:
  • aDNSNames:
  • aEmailAddresses:
  • aIPAddresses:
  • aURIs:
  • aPermittedDNSDomainsCritical:
  • aPermittedDNSDomains:
  • aExcludedDNSDomains:
  • aPermittedIPRanges:
  • aExcludedIPRanges:
  • aPermittedEmailAddresses:
  • aExcludedEmailAddresses:
  • aPermittedURIDomains:
  • aExcludedURIDomains:
  • aCRLDistributionPoints:
  • aPolicyIdentifiers:

 

constructor(aRaw: Slice<Byte>; aRawTBSCertificate: Slice<Byte>; aRawSubjectPublicKeyInfo: Slice<Byte>; aRawSubject: Slice<Byte>; aRawIssuer: Slice<Byte>; aSignature: Slice<Byte>; aSignatureAlgorithm: SignatureAlgorithm; aPublicKeyAlgorithm: PublicKeyAlgorithm; aPublicKey: Object; aVersion: Int64; aSerialNumber: Reference<Int>; aIssuer: Name; aSubject: Name; aNotBefore: Time; aNotAfter: Time; aKeyUsage: KeyUsage; aExtensions: Slice<Extension>; aExtraExtensions: Slice<Extension>; aUnhandledCriticalExtensions: Slice<ObjectIdentifier>; aExtKeyUsage: Slice<ExtKeyUsage>; aUnknownExtKeyUsage: Slice<ObjectIdentifier>; aBasicConstraintsValid: Boolean; aIsCA: Boolean; aMaxPathLen: Int64; aMaxPathLenZero: Boolean; aSubjectKeyId: Slice<Byte>; aAuthorityKeyId: Slice<Byte>; aOCSPServer: Slice<string>; aIssuingCertificateURL: Slice<string>; aDNSNames: Slice<string>; aEmailAddresses: Slice<string>; aIPAddresses: Slice<IP>; aURIs: Slice<Reference<URL>>; aPermittedDNSDomainsCritical: Boolean; aPermittedDNSDomains: Slice<string>; aExcludedDNSDomains: Slice<string>; aPermittedIPRanges: Slice<Reference<IPNet>>; aExcludedIPRanges: Slice<Reference<IPNet>>; aPermittedEmailAddresses: Slice<string>; aExcludedEmailAddresses: Slice<string>; aPermittedURIDomains: Slice<string>; aExcludedURIDomains: Slice<string>; aCRLDistributionPoints: Slice<string>; aPolicyIdentifiers: Slice<ObjectIdentifier>)

 

Certificate(Slice<Byte> aRaw, Slice<Byte> aRawTBSCertificate, Slice<Byte> aRawSubjectPublicKeyInfo, Slice<Byte> aRawSubject, Slice<Byte> aRawIssuer, Slice<Byte> aSignature, SignatureAlgorithm aSignatureAlgorithm, PublicKeyAlgorithm aPublicKeyAlgorithm, Object aPublicKey, Int64 aVersion, Reference<Int> aSerialNumber, Name aIssuer, Name aSubject, Time aNotBefore, Time aNotAfter, KeyUsage aKeyUsage, Slice<Extension> aExtensions, Slice<Extension> aExtraExtensions, Slice<ObjectIdentifier> aUnhandledCriticalExtensions, Slice<ExtKeyUsage> aExtKeyUsage, Slice<ObjectIdentifier> aUnknownExtKeyUsage, Boolean aBasicConstraintsValid, Boolean aIsCA, Int64 aMaxPathLen, Boolean aMaxPathLenZero, Slice<Byte> aSubjectKeyId, Slice<Byte> aAuthorityKeyId, Slice<string> aOCSPServer, Slice<string> aIssuingCertificateURL, Slice<string> aDNSNames, Slice<string> aEmailAddresses, Slice<IP> aIPAddresses, Slice<Reference<URL>> aURIs, Boolean aPermittedDNSDomainsCritical, Slice<string> aPermittedDNSDomains, Slice<string> aExcludedDNSDomains, Slice<Reference<IPNet>> aPermittedIPRanges, Slice<Reference<IPNet>> aExcludedIPRanges, Slice<string> aPermittedEmailAddresses, Slice<string> aExcludedEmailAddresses, Slice<string> aPermittedURIDomains, Slice<string> aExcludedURIDomains, Slice<string> aCRLDistributionPoints, Slice<ObjectIdentifier> aPolicyIdentifiers)

 

init(_ aRaw: Slice<Byte>, _ aRawTBSCertificate: Slice<Byte>, _ aRawSubjectPublicKeyInfo: Slice<Byte>, _ aRawSubject: Slice<Byte>, _ aRawIssuer: Slice<Byte>, _ aSignature: Slice<Byte>, _ aSignatureAlgorithm: SignatureAlgorithm, _ aPublicKeyAlgorithm: PublicKeyAlgorithm, _ aPublicKey: Object, _ aVersion: Int64, _ aSerialNumber: Reference<Int>, _ aIssuer: Name, _ aSubject: Name, _ aNotBefore: Time, _ aNotAfter: Time, _ aKeyUsage: KeyUsage, _ aExtensions: Slice<Extension>, _ aExtraExtensions: Slice<Extension>, _ aUnhandledCriticalExtensions: Slice<ObjectIdentifier>, _ aExtKeyUsage: Slice<ExtKeyUsage>, _ aUnknownExtKeyUsage: Slice<ObjectIdentifier>, _ aBasicConstraintsValid: Boolean, _ aIsCA: Boolean, _ aMaxPathLen: Int64, _ aMaxPathLenZero: Boolean, _ aSubjectKeyId: Slice<Byte>, _ aAuthorityKeyId: Slice<Byte>, _ aOCSPServer: Slice<string>, _ aIssuingCertificateURL: Slice<string>, _ aDNSNames: Slice<string>, _ aEmailAddresses: Slice<string>, _ aIPAddresses: Slice<IP>, _ aURIs: Slice<Reference<URL>>, _ aPermittedDNSDomainsCritical: Boolean, _ aPermittedDNSDomains: Slice<string>, _ aExcludedDNSDomains: Slice<string>, _ aPermittedIPRanges: Slice<Reference<IPNet>>, _ aExcludedIPRanges: Slice<Reference<IPNet>>, _ aPermittedEmailAddresses: Slice<string>, _ aExcludedEmailAddresses: Slice<string>, _ aPermittedURIDomains: Slice<string>, _ aExcludedURIDomains: Slice<string>, _ aCRLDistributionPoints: Slice<string>, _ aPolicyIdentifiers: Slice<ObjectIdentifier>)

Parameters:

  • aRaw:
  • aRawTBSCertificate:
  • aRawSubjectPublicKeyInfo:
  • aRawSubject:
  • aRawIssuer:
  • aSignature:
  • aSignatureAlgorithm:
  • aPublicKeyAlgorithm:
  • aPublicKey:
  • aVersion:
  • aSerialNumber:
  • aIssuer:
  • aSubject:
  • aNotBefore:
  • aNotAfter:
  • aKeyUsage:
  • aExtensions:
  • aExtraExtensions:
  • aUnhandledCriticalExtensions:
  • aExtKeyUsage:
  • aUnknownExtKeyUsage:
  • aBasicConstraintsValid:
  • aIsCA:
  • aMaxPathLen:
  • aMaxPathLenZero:
  • aSubjectKeyId:
  • aAuthorityKeyId:
  • aOCSPServer:
  • aIssuingCertificateURL:
  • aDNSNames:
  • aEmailAddresses:
  • aIPAddresses:
  • aURIs:
  • aPermittedDNSDomainsCritical:
  • aPermittedDNSDomains:
  • aExcludedDNSDomains:
  • aPermittedIPRanges:
  • aExcludedIPRanges:
  • aPermittedEmailAddresses:
  • aExcludedEmailAddresses:
  • aPermittedURIDomains:
  • aExcludedURIDomains:
  • aCRLDistributionPoints:
  • aPolicyIdentifiers:

AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>;

 

Slice<Byte> AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>

 

AuthorityKeyId Slice<Byte>

BasicConstraintsValid

 

var BasicConstraintsValid: bool;

 

bool BasicConstraintsValid

 

var BasicConstraintsValid: bool

 

BasicConstraintsValid bool

CheckCRLSignature (Reference<CertificateList>): error .NET, .NET Standard 2.0

 

method CheckCRLSignature(crl: Reference<CertificateList>): error

 

error CheckCRLSignature(Reference<CertificateList> crl)

 

func CheckCRLSignature(_ crl: Reference<CertificateList>) -> error

 

func CheckCRLSignature(crl Reference<CertificateList>) error

Parameters:

  • crl:

CheckCRLSignature (Reference<CertificateList>): error Island, macOS

 

method CheckCRLSignature(crl: Reference<CertificateList>): error

 

error CheckCRLSignature(Reference<CertificateList> crl)

 

func CheckCRLSignature(_ crl: Reference<CertificateList>) -> error

 

func CheckCRLSignature(crl Reference<CertificateList>) error

Parameters:

  • crl:

CheckSignature

 

method CheckSignature(algo: SignatureAlgorithm; signed: Slice<Byte>; signature: Slice<Byte>): error

 

error CheckSignature(SignatureAlgorithm algo, Slice<Byte> signed, Slice<Byte> signature)

 

func CheckSignature(_ algo: SignatureAlgorithm, _ signed: Slice<Byte>, _ signature: Slice<Byte>) -> error

 

func CheckSignature(algo SignatureAlgorithm, signed Slice<Byte>, signature Slice<Byte>) error

Parameters:

  • algo:
  • signed:
  • signature:

CheckSignatureFrom

 

method CheckSignatureFrom(parent: Reference<Certificate>): error

 

error CheckSignatureFrom(Reference<Certificate> parent)

 

func CheckSignatureFrom(_ parent: Reference<Certificate>) -> error

 

func CheckSignatureFrom(parent Reference<Certificate>) error

Parameters:

  • parent:

CreateCRL

 

method CreateCRL(rand: Reader; priv: Object; revokedCerts: Slice<RevokedCertificate>; now: Time; expiry: Time): tuple of (crlBytes: Slice<Byte>, err: error)

 

(Slice<Byte> crlBytes, error err) CreateCRL(Reader rand, Object priv, Slice<RevokedCertificate> revokedCerts, Time now, Time expiry)

 

func CreateCRL(_ rand: Reader, _ priv: Object, _ revokedCerts: Slice<RevokedCertificate>, _ now: Time, _ expiry: Time) -> (crlBytes:Slice<Byte>, err:error)

 

func CreateCRL(rand Reader, priv interface{}, revokedCerts Slice<RevokedCertificate>, now Time, expiry Time) (crlBytes Slice<Byte>, err error)

Parameters:

  • rand:
  • priv:
  • revokedCerts:
  • now:
  • expiry:

CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>;

 

Slice<string> CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>

 

CRLDistributionPoints Slice<string>

DNSNames

 

var DNSNames: Slice<string>;

 

Slice<string> DNSNames

 

var DNSNames: Slice<string>

 

DNSNames Slice<string>

EmailAddresses

 

var EmailAddresses: Slice<string>;

 

Slice<string> EmailAddresses

 

var EmailAddresses: Slice<string>

 

EmailAddresses Slice<string>

Equal

 

method Equal(other: Reference<Certificate>): bool

 

bool Equal(Reference<Certificate> other)

 

func Equal(_ other: Reference<Certificate>) -> bool

 

func Equal(other Reference<Certificate>) bool

Parameters:

  • other:

ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>;

 

Slice<string> ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>

 

ExcludedDNSDomains Slice<string>

ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>;

 

Slice<string> ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>

 

ExcludedEmailAddresses Slice<string>

ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>

 

ExcludedIPRanges Slice<Reference<IPNet>>

ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>;

 

Slice<string> ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>

 

ExcludedURIDomains Slice<string>

Extensions

 

// .NET, .NET Standard 2.0
var Extensions: Slice<Extension>;
// Island, macOS
var Extensions: Slice<Extension>;

 

// .NET, .NET Standard 2.0
Slice<Extension> Extensions
// Island, macOS
Slice<Extension> Extensions

 

// .NET, .NET Standard 2.0
var Extensions: Slice<Extension>
// Island, macOS
var Extensions: Slice<Extension>

 

// .NET, .NET Standard 2.0
Extensions Slice<Extension>
// Island, macOS
Extensions Slice<Extension>

ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>;

 

Slice<ExtKeyUsage> ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>

 

ExtKeyUsage Slice<ExtKeyUsage>

ExtraExtensions

 

// .NET, .NET Standard 2.0
var ExtraExtensions: Slice<Extension>;
// Island, macOS
var ExtraExtensions: Slice<Extension>;

 

// .NET, .NET Standard 2.0
Slice<Extension> ExtraExtensions
// Island, macOS
Slice<Extension> ExtraExtensions

 

// .NET, .NET Standard 2.0
var ExtraExtensions: Slice<Extension>
// Island, macOS
var ExtraExtensions: Slice<Extension>

 

// .NET, .NET Standard 2.0
ExtraExtensions Slice<Extension>
// Island, macOS
ExtraExtensions Slice<Extension>

IPAddresses

 

var IPAddresses: Slice<IP>;

 

Slice<IP> IPAddresses

 

var IPAddresses: Slice<IP>

 

IPAddresses Slice<IP>

IsCA

 

var IsCA: bool;

 

bool IsCA

 

var IsCA: bool

 

IsCA bool

Issuer

 

// .NET, .NET Standard 2.0
var Issuer: Name;
// Island, macOS
var Issuer: Name;

 

// .NET, .NET Standard 2.0
Name Issuer
// Island, macOS
Name Issuer

 

// .NET, .NET Standard 2.0
var Issuer: Name
// Island, macOS
var Issuer: Name

 

// .NET, .NET Standard 2.0
Issuer Name
// Island, macOS
Issuer Name

IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>;

 

Slice<string> IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>

 

IssuingCertificateURL Slice<string>

KeyUsage

 

var KeyUsage: KeyUsage;

 

KeyUsage KeyUsage

 

var KeyUsage: KeyUsage

 

KeyUsage KeyUsage

MaxPathLen

 

var MaxPathLen: int;

 

int MaxPathLen

 

var MaxPathLen: int

 

MaxPathLen int

MaxPathLenZero

 

var MaxPathLenZero: bool;

 

bool MaxPathLenZero

 

var MaxPathLenZero: bool

 

MaxPathLenZero bool

NotAfter

 

var NotAfter: Time;

 

Time NotAfter

 

var NotAfter: Time

 

NotAfter Time

NotBefore

 

var NotBefore: Time;

 

Time NotBefore

 

var NotBefore: Time

 

NotBefore Time

OCSPServer

 

var OCSPServer: Slice<string>;

 

Slice<string> OCSPServer

 

var OCSPServer: Slice<string>

 

OCSPServer Slice<string>

PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>;

 

Slice<string> PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>

 

PermittedDNSDomains Slice<string>

PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool;

 

bool PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool

 

PermittedDNSDomainsCritical bool

PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>;

 

Slice<string> PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>

 

PermittedEmailAddresses Slice<string>

PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>

 

PermittedIPRanges Slice<Reference<IPNet>>

PermittedURIDomains

 

var PermittedURIDomains: Slice<string>;

 

Slice<string> PermittedURIDomains

 

var PermittedURIDomains: Slice<string>

 

PermittedURIDomains Slice<string>

PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>

 

PolicyIdentifiers Slice<ObjectIdentifier>

PublicKey

 

var PublicKey: Object;

 

Object PublicKey

 

var PublicKey: Object

 

PublicKey interface{}

PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm;

 

PublicKeyAlgorithm PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm

 

PublicKeyAlgorithm PublicKeyAlgorithm

Raw

 

var Raw: Slice<Byte>;

 

Slice<Byte> Raw

 

var Raw: Slice<Byte>

 

Raw Slice<Byte>

RawIssuer

 

var RawIssuer: Slice<Byte>;

 

Slice<Byte> RawIssuer

 

var RawIssuer: Slice<Byte>

 

RawIssuer Slice<Byte>

RawSubject

 

var RawSubject: Slice<Byte>;

 

Slice<Byte> RawSubject

 

var RawSubject: Slice<Byte>

 

RawSubject Slice<Byte>

RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>;

 

Slice<Byte> RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>

 

RawSubjectPublicKeyInfo Slice<Byte>

RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>;

 

Slice<Byte> RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>

 

RawTBSCertificate Slice<Byte>

SerialNumber

 

var SerialNumber: Reference<Int>;

 

Reference<Int> SerialNumber

 

var SerialNumber: Reference<Int>

 

SerialNumber Reference<Int>

Signature

 

var Signature: Slice<Byte>;

 

Slice<Byte> Signature

 

var Signature: Slice<Byte>

 

Signature Slice<Byte>

SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm;

 

SignatureAlgorithm SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm

 

SignatureAlgorithm SignatureAlgorithm

Subject

 

// .NET, .NET Standard 2.0
var Subject: Name;
// Island, macOS
var Subject: Name;

 

// .NET, .NET Standard 2.0
Name Subject
// Island, macOS
Name Subject

 

// .NET, .NET Standard 2.0
var Subject: Name
// Island, macOS
var Subject: Name

 

// .NET, .NET Standard 2.0
Subject Name
// Island, macOS
Subject Name

SubjectKeyId

 

var SubjectKeyId: Slice<Byte>;

 

Slice<Byte> SubjectKeyId

 

var SubjectKeyId: Slice<Byte>

 

SubjectKeyId Slice<Byte>

UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>

 

UnhandledCriticalExtensions Slice<ObjectIdentifier>

UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>

 

UnknownExtKeyUsage Slice<ObjectIdentifier>

URIs

 

var URIs: Slice<Reference<URL>>;

 

var URIs: Slice<Reference<URL>>

Verify

 

method Verify(opts: VerifyOptions): tuple of (chains: Slice<Slice<Reference<Certificate>>>, err: error)

 

(Slice<Slice<Reference<Certificate>>> chains, error err) Verify(VerifyOptions opts)

 

func Verify(_ opts: VerifyOptions) -> (chains:Slice<Slice<Reference<Certificate>>>, err:error)

 

func Verify(opts VerifyOptions) (chains Slice<Slice<Reference<Certificate>>>, err error)

Parameters:

  • opts:

VerifyHostname

 

method VerifyHostname(h: string): error

 

error VerifyHostname(string h)

 

func VerifyHostname(_ h: string) -> error

 

func VerifyHostname(h string) error

Parameters:

  • h:

Version

 

var Version: int;

 

int Version

 

var Version: int

 

Version int

 

AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>;

 

Slice<Byte> AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>

 

AuthorityKeyId Slice<Byte>

BasicConstraintsValid

 

var BasicConstraintsValid: bool;

 

bool BasicConstraintsValid

 

var BasicConstraintsValid: bool

 

BasicConstraintsValid bool

CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>;

 

Slice<string> CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>

 

CRLDistributionPoints Slice<string>

DNSNames

 

var DNSNames: Slice<string>;

 

Slice<string> DNSNames

 

var DNSNames: Slice<string>

 

DNSNames Slice<string>

EmailAddresses

 

var EmailAddresses: Slice<string>;

 

Slice<string> EmailAddresses

 

var EmailAddresses: Slice<string>

 

EmailAddresses Slice<string>

ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>;

 

Slice<string> ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>

 

ExcludedDNSDomains Slice<string>

ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>;

 

Slice<string> ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>

 

ExcludedEmailAddresses Slice<string>

ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>

 

ExcludedIPRanges Slice<Reference<IPNet>>

ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>;

 

Slice<string> ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>

 

ExcludedURIDomains Slice<string>

Extensions

 

// .NET, .NET Standard 2.0
var Extensions: Slice<Extension>;
// Island, macOS
var Extensions: Slice<Extension>;

 

// .NET, .NET Standard 2.0
Slice<Extension> Extensions
// Island, macOS
Slice<Extension> Extensions

 

// .NET, .NET Standard 2.0
var Extensions: Slice<Extension>
// Island, macOS
var Extensions: Slice<Extension>

 

// .NET, .NET Standard 2.0
Extensions Slice<Extension>
// Island, macOS
Extensions Slice<Extension>

ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>;

 

Slice<ExtKeyUsage> ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>

 

ExtKeyUsage Slice<ExtKeyUsage>

ExtraExtensions

 

// .NET, .NET Standard 2.0
var ExtraExtensions: Slice<Extension>;
// Island, macOS
var ExtraExtensions: Slice<Extension>;

 

// .NET, .NET Standard 2.0
Slice<Extension> ExtraExtensions
// Island, macOS
Slice<Extension> ExtraExtensions

 

// .NET, .NET Standard 2.0
var ExtraExtensions: Slice<Extension>
// Island, macOS
var ExtraExtensions: Slice<Extension>

 

// .NET, .NET Standard 2.0
ExtraExtensions Slice<Extension>
// Island, macOS
ExtraExtensions Slice<Extension>

IPAddresses

 

var IPAddresses: Slice<IP>;

 

Slice<IP> IPAddresses

 

var IPAddresses: Slice<IP>

 

IPAddresses Slice<IP>

IsCA

 

var IsCA: bool;

 

bool IsCA

 

var IsCA: bool

 

IsCA bool

Issuer

 

// .NET, .NET Standard 2.0
var Issuer: Name;
// Island, macOS
var Issuer: Name;

 

// .NET, .NET Standard 2.0
Name Issuer
// Island, macOS
Name Issuer

 

// .NET, .NET Standard 2.0
var Issuer: Name
// Island, macOS
var Issuer: Name

 

// .NET, .NET Standard 2.0
Issuer Name
// Island, macOS
Issuer Name

IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>;

 

Slice<string> IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>

 

IssuingCertificateURL Slice<string>

KeyUsage

 

var KeyUsage: KeyUsage;

 

KeyUsage KeyUsage

 

var KeyUsage: KeyUsage

 

KeyUsage KeyUsage

MaxPathLen

 

var MaxPathLen: int;

 

int MaxPathLen

 

var MaxPathLen: int

 

MaxPathLen int

MaxPathLenZero

 

var MaxPathLenZero: bool;

 

bool MaxPathLenZero

 

var MaxPathLenZero: bool

 

MaxPathLenZero bool

NotAfter

 

var NotAfter: Time;

 

Time NotAfter

 

var NotAfter: Time

 

NotAfter Time

NotBefore

 

var NotBefore: Time;

 

Time NotBefore

 

var NotBefore: Time

 

NotBefore Time

OCSPServer

 

var OCSPServer: Slice<string>;

 

Slice<string> OCSPServer

 

var OCSPServer: Slice<string>

 

OCSPServer Slice<string>

PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>;

 

Slice<string> PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>

 

PermittedDNSDomains Slice<string>

PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool;

 

bool PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool

 

PermittedDNSDomainsCritical bool

PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>;

 

Slice<string> PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>

 

PermittedEmailAddresses Slice<string>

PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>

 

PermittedIPRanges Slice<Reference<IPNet>>

PermittedURIDomains

 

var PermittedURIDomains: Slice<string>;

 

Slice<string> PermittedURIDomains

 

var PermittedURIDomains: Slice<string>

 

PermittedURIDomains Slice<string>

PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>

 

PolicyIdentifiers Slice<ObjectIdentifier>

PublicKey

 

var PublicKey: Object;

 

Object PublicKey

 

var PublicKey: Object

 

PublicKey interface{}

PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm;

 

PublicKeyAlgorithm PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm

 

PublicKeyAlgorithm PublicKeyAlgorithm

Raw

 

var Raw: Slice<Byte>;

 

Slice<Byte> Raw

 

var Raw: Slice<Byte>

 

Raw Slice<Byte>

RawIssuer

 

var RawIssuer: Slice<Byte>;

 

Slice<Byte> RawIssuer

 

var RawIssuer: Slice<Byte>

 

RawIssuer Slice<Byte>

RawSubject

 

var RawSubject: Slice<Byte>;

 

Slice<Byte> RawSubject

 

var RawSubject: Slice<Byte>

 

RawSubject Slice<Byte>

RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>;

 

Slice<Byte> RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>

 

RawSubjectPublicKeyInfo Slice<Byte>

RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>;

 

Slice<Byte> RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>

 

RawTBSCertificate Slice<Byte>

SerialNumber

 

var SerialNumber: Reference<Int>;

 

Reference<Int> SerialNumber

 

var SerialNumber: Reference<Int>

 

SerialNumber Reference<Int>

Signature

 

var Signature: Slice<Byte>;

 

Slice<Byte> Signature

 

var Signature: Slice<Byte>

 

Signature Slice<Byte>

SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm;

 

SignatureAlgorithm SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm

 

SignatureAlgorithm SignatureAlgorithm

Subject

 

// .NET, .NET Standard 2.0
var Subject: Name;
// Island, macOS
var Subject: Name;

 

// .NET, .NET Standard 2.0
Name Subject
// Island, macOS
Name Subject

 

// .NET, .NET Standard 2.0
var Subject: Name
// Island, macOS
var Subject: Name

 

// .NET, .NET Standard 2.0
Subject Name
// Island, macOS
Subject Name

SubjectKeyId

 

var SubjectKeyId: Slice<Byte>;

 

Slice<Byte> SubjectKeyId

 

var SubjectKeyId: Slice<Byte>

 

SubjectKeyId Slice<Byte>

UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>

 

UnhandledCriticalExtensions Slice<ObjectIdentifier>

UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>

 

UnknownExtKeyUsage Slice<ObjectIdentifier>

URIs

 

var URIs: Slice<Reference<URL>>;

 

var URIs: Slice<Reference<URL>>

Version

 

var Version: int;

 

int Version

 

var Version: int

 

Version int

 

constructor

 

constructor

 

Certificate()

 

init()

constructor (Certificate)

 

constructor(value: Certificate)

 

Certificate(Certificate value)

 

init(_ value: Certificate)

Parameters:

  • value:

 

constructor(aRaw: Slice<Byte>; aRawTBSCertificate: Slice<Byte>; aRawSubjectPublicKeyInfo: Slice<Byte>; aRawSubject: Slice<Byte>; aRawIssuer: Slice<Byte>; aSignature: Slice<Byte>; aSignatureAlgorithm: SignatureAlgorithm; aPublicKeyAlgorithm: PublicKeyAlgorithm; aPublicKey: Object; aVersion: int; aSerialNumber: Reference<Int>; aIssuer: Name; aSubject: Name; aNotBefore: Time; aNotAfter: Time; aKeyUsage: KeyUsage; aExtensions: Slice<Extension>; aExtraExtensions: Slice<Extension>; aUnhandledCriticalExtensions: Slice<ObjectIdentifier>; aExtKeyUsage: Slice<ExtKeyUsage>; aUnknownExtKeyUsage: Slice<ObjectIdentifier>; aBasicConstraintsValid: bool; aIsCA: bool; aMaxPathLen: int; aMaxPathLenZero: bool; aSubjectKeyId: Slice<Byte>; aAuthorityKeyId: Slice<Byte>; aOCSPServer: Slice<string>; aIssuingCertificateURL: Slice<string>; aDNSNames: Slice<string>; aEmailAddresses: Slice<string>; aIPAddresses: Slice<IP>; aURIs: Slice<Reference<URL>>; aPermittedDNSDomainsCritical: bool; aPermittedDNSDomains: Slice<string>; aExcludedDNSDomains: Slice<string>; aPermittedIPRanges: Slice<Reference<IPNet>>; aExcludedIPRanges: Slice<Reference<IPNet>>; aPermittedEmailAddresses: Slice<string>; aExcludedEmailAddresses: Slice<string>; aPermittedURIDomains: Slice<string>; aExcludedURIDomains: Slice<string>; aCRLDistributionPoints: Slice<string>; aPolicyIdentifiers: Slice<ObjectIdentifier>)

 

Certificate(Slice<Byte> aRaw, Slice<Byte> aRawTBSCertificate, Slice<Byte> aRawSubjectPublicKeyInfo, Slice<Byte> aRawSubject, Slice<Byte> aRawIssuer, Slice<Byte> aSignature, SignatureAlgorithm aSignatureAlgorithm, PublicKeyAlgorithm aPublicKeyAlgorithm, Object aPublicKey, int aVersion, Reference<Int> aSerialNumber, Name aIssuer, Name aSubject, Time aNotBefore, Time aNotAfter, KeyUsage aKeyUsage, Slice<Extension> aExtensions, Slice<Extension> aExtraExtensions, Slice<ObjectIdentifier> aUnhandledCriticalExtensions, Slice<ExtKeyUsage> aExtKeyUsage, Slice<ObjectIdentifier> aUnknownExtKeyUsage, bool aBasicConstraintsValid, bool aIsCA, int aMaxPathLen, bool aMaxPathLenZero, Slice<Byte> aSubjectKeyId, Slice<Byte> aAuthorityKeyId, Slice<string> aOCSPServer, Slice<string> aIssuingCertificateURL, Slice<string> aDNSNames, Slice<string> aEmailAddresses, Slice<IP> aIPAddresses, Slice<Reference<URL>> aURIs, bool aPermittedDNSDomainsCritical, Slice<string> aPermittedDNSDomains, Slice<string> aExcludedDNSDomains, Slice<Reference<IPNet>> aPermittedIPRanges, Slice<Reference<IPNet>> aExcludedIPRanges, Slice<string> aPermittedEmailAddresses, Slice<string> aExcludedEmailAddresses, Slice<string> aPermittedURIDomains, Slice<string> aExcludedURIDomains, Slice<string> aCRLDistributionPoints, Slice<ObjectIdentifier> aPolicyIdentifiers)

 

init(_ aRaw: Slice<Byte>, _ aRawTBSCertificate: Slice<Byte>, _ aRawSubjectPublicKeyInfo: Slice<Byte>, _ aRawSubject: Slice<Byte>, _ aRawIssuer: Slice<Byte>, _ aSignature: Slice<Byte>, _ aSignatureAlgorithm: SignatureAlgorithm, _ aPublicKeyAlgorithm: PublicKeyAlgorithm, _ aPublicKey: Object, _ aVersion: int, _ aSerialNumber: Reference<Int>, _ aIssuer: Name, _ aSubject: Name, _ aNotBefore: Time, _ aNotAfter: Time, _ aKeyUsage: KeyUsage, _ aExtensions: Slice<Extension>, _ aExtraExtensions: Slice<Extension>, _ aUnhandledCriticalExtensions: Slice<ObjectIdentifier>, _ aExtKeyUsage: Slice<ExtKeyUsage>, _ aUnknownExtKeyUsage: Slice<ObjectIdentifier>, _ aBasicConstraintsValid: bool, _ aIsCA: bool, _ aMaxPathLen: int, _ aMaxPathLenZero: bool, _ aSubjectKeyId: Slice<Byte>, _ aAuthorityKeyId: Slice<Byte>, _ aOCSPServer: Slice<string>, _ aIssuingCertificateURL: Slice<string>, _ aDNSNames: Slice<string>, _ aEmailAddresses: Slice<string>, _ aIPAddresses: Slice<IP>, _ aURIs: Slice<Reference<URL>>, _ aPermittedDNSDomainsCritical: bool, _ aPermittedDNSDomains: Slice<string>, _ aExcludedDNSDomains: Slice<string>, _ aPermittedIPRanges: Slice<Reference<IPNet>>, _ aExcludedIPRanges: Slice<Reference<IPNet>>, _ aPermittedEmailAddresses: Slice<string>, _ aExcludedEmailAddresses: Slice<string>, _ aPermittedURIDomains: Slice<string>, _ aExcludedURIDomains: Slice<string>, _ aCRLDistributionPoints: Slice<string>, _ aPolicyIdentifiers: Slice<ObjectIdentifier>)

Parameters:

  • aRaw:
  • aRawTBSCertificate:
  • aRawSubjectPublicKeyInfo:
  • aRawSubject:
  • aRawIssuer:
  • aSignature:
  • aSignatureAlgorithm:
  • aPublicKeyAlgorithm:
  • aPublicKey:
  • aVersion:
  • aSerialNumber:
  • aIssuer:
  • aSubject:
  • aNotBefore:
  • aNotAfter:
  • aKeyUsage:
  • aExtensions:
  • aExtraExtensions:
  • aUnhandledCriticalExtensions:
  • aExtKeyUsage:
  • aUnknownExtKeyUsage:
  • aBasicConstraintsValid:
  • aIsCA:
  • aMaxPathLen:
  • aMaxPathLenZero:
  • aSubjectKeyId:
  • aAuthorityKeyId:
  • aOCSPServer:
  • aIssuingCertificateURL:
  • aDNSNames:
  • aEmailAddresses:
  • aIPAddresses:
  • aURIs:
  • aPermittedDNSDomainsCritical:
  • aPermittedDNSDomains:
  • aExcludedDNSDomains:
  • aPermittedIPRanges:
  • aExcludedIPRanges:
  • aPermittedEmailAddresses:
  • aExcludedEmailAddresses:
  • aPermittedURIDomains:
  • aExcludedURIDomains:
  • aCRLDistributionPoints:
  • aPolicyIdentifiers:

 

constructor(aRaw: Slice<Byte>; aRawTBSCertificate: Slice<Byte>; aRawSubjectPublicKeyInfo: Slice<Byte>; aRawSubject: Slice<Byte>; aRawIssuer: Slice<Byte>; aSignature: Slice<Byte>; aSignatureAlgorithm: SignatureAlgorithm; aPublicKeyAlgorithm: PublicKeyAlgorithm; aPublicKey: Object; aVersion: Int64; aSerialNumber: Reference<Int>; aIssuer: Name; aSubject: Name; aNotBefore: Time; aNotAfter: Time; aKeyUsage: KeyUsage; aExtensions: Slice<Extension>; aExtraExtensions: Slice<Extension>; aUnhandledCriticalExtensions: Slice<ObjectIdentifier>; aExtKeyUsage: Slice<ExtKeyUsage>; aUnknownExtKeyUsage: Slice<ObjectIdentifier>; aBasicConstraintsValid: Boolean; aIsCA: Boolean; aMaxPathLen: Int64; aMaxPathLenZero: Boolean; aSubjectKeyId: Slice<Byte>; aAuthorityKeyId: Slice<Byte>; aOCSPServer: Slice<string>; aIssuingCertificateURL: Slice<string>; aDNSNames: Slice<string>; aEmailAddresses: Slice<string>; aIPAddresses: Slice<IP>; aURIs: Slice<Reference<URL>>; aPermittedDNSDomainsCritical: Boolean; aPermittedDNSDomains: Slice<string>; aExcludedDNSDomains: Slice<string>; aPermittedIPRanges: Slice<Reference<IPNet>>; aExcludedIPRanges: Slice<Reference<IPNet>>; aPermittedEmailAddresses: Slice<string>; aExcludedEmailAddresses: Slice<string>; aPermittedURIDomains: Slice<string>; aExcludedURIDomains: Slice<string>; aCRLDistributionPoints: Slice<string>; aPolicyIdentifiers: Slice<ObjectIdentifier>)

 

Certificate(Slice<Byte> aRaw, Slice<Byte> aRawTBSCertificate, Slice<Byte> aRawSubjectPublicKeyInfo, Slice<Byte> aRawSubject, Slice<Byte> aRawIssuer, Slice<Byte> aSignature, SignatureAlgorithm aSignatureAlgorithm, PublicKeyAlgorithm aPublicKeyAlgorithm, Object aPublicKey, Int64 aVersion, Reference<Int> aSerialNumber, Name aIssuer, Name aSubject, Time aNotBefore, Time aNotAfter, KeyUsage aKeyUsage, Slice<Extension> aExtensions, Slice<Extension> aExtraExtensions, Slice<ObjectIdentifier> aUnhandledCriticalExtensions, Slice<ExtKeyUsage> aExtKeyUsage, Slice<ObjectIdentifier> aUnknownExtKeyUsage, Boolean aBasicConstraintsValid, Boolean aIsCA, Int64 aMaxPathLen, Boolean aMaxPathLenZero, Slice<Byte> aSubjectKeyId, Slice<Byte> aAuthorityKeyId, Slice<string> aOCSPServer, Slice<string> aIssuingCertificateURL, Slice<string> aDNSNames, Slice<string> aEmailAddresses, Slice<IP> aIPAddresses, Slice<Reference<URL>> aURIs, Boolean aPermittedDNSDomainsCritical, Slice<string> aPermittedDNSDomains, Slice<string> aExcludedDNSDomains, Slice<Reference<IPNet>> aPermittedIPRanges, Slice<Reference<IPNet>> aExcludedIPRanges, Slice<string> aPermittedEmailAddresses, Slice<string> aExcludedEmailAddresses, Slice<string> aPermittedURIDomains, Slice<string> aExcludedURIDomains, Slice<string> aCRLDistributionPoints, Slice<ObjectIdentifier> aPolicyIdentifiers)

 

init(_ aRaw: Slice<Byte>, _ aRawTBSCertificate: Slice<Byte>, _ aRawSubjectPublicKeyInfo: Slice<Byte>, _ aRawSubject: Slice<Byte>, _ aRawIssuer: Slice<Byte>, _ aSignature: Slice<Byte>, _ aSignatureAlgorithm: SignatureAlgorithm, _ aPublicKeyAlgorithm: PublicKeyAlgorithm, _ aPublicKey: Object, _ aVersion: Int64, _ aSerialNumber: Reference<Int>, _ aIssuer: Name, _ aSubject: Name, _ aNotBefore: Time, _ aNotAfter: Time, _ aKeyUsage: KeyUsage, _ aExtensions: Slice<Extension>, _ aExtraExtensions: Slice<Extension>, _ aUnhandledCriticalExtensions: Slice<ObjectIdentifier>, _ aExtKeyUsage: Slice<ExtKeyUsage>, _ aUnknownExtKeyUsage: Slice<ObjectIdentifier>, _ aBasicConstraintsValid: Boolean, _ aIsCA: Boolean, _ aMaxPathLen: Int64, _ aMaxPathLenZero: Boolean, _ aSubjectKeyId: Slice<Byte>, _ aAuthorityKeyId: Slice<Byte>, _ aOCSPServer: Slice<string>, _ aIssuingCertificateURL: Slice<string>, _ aDNSNames: Slice<string>, _ aEmailAddresses: Slice<string>, _ aIPAddresses: Slice<IP>, _ aURIs: Slice<Reference<URL>>, _ aPermittedDNSDomainsCritical: Boolean, _ aPermittedDNSDomains: Slice<string>, _ aExcludedDNSDomains: Slice<string>, _ aPermittedIPRanges: Slice<Reference<IPNet>>, _ aExcludedIPRanges: Slice<Reference<IPNet>>, _ aPermittedEmailAddresses: Slice<string>, _ aExcludedEmailAddresses: Slice<string>, _ aPermittedURIDomains: Slice<string>, _ aExcludedURIDomains: Slice<string>, _ aCRLDistributionPoints: Slice<string>, _ aPolicyIdentifiers: Slice<ObjectIdentifier>)

Parameters:

  • aRaw:
  • aRawTBSCertificate:
  • aRawSubjectPublicKeyInfo:
  • aRawSubject:
  • aRawIssuer:
  • aSignature:
  • aSignatureAlgorithm:
  • aPublicKeyAlgorithm:
  • aPublicKey:
  • aVersion:
  • aSerialNumber:
  • aIssuer:
  • aSubject:
  • aNotBefore:
  • aNotAfter:
  • aKeyUsage:
  • aExtensions:
  • aExtraExtensions:
  • aUnhandledCriticalExtensions:
  • aExtKeyUsage:
  • aUnknownExtKeyUsage:
  • aBasicConstraintsValid:
  • aIsCA:
  • aMaxPathLen:
  • aMaxPathLenZero:
  • aSubjectKeyId:
  • aAuthorityKeyId:
  • aOCSPServer:
  • aIssuingCertificateURL:
  • aDNSNames:
  • aEmailAddresses:
  • aIPAddresses:
  • aURIs:
  • aPermittedDNSDomainsCritical:
  • aPermittedDNSDomains:
  • aExcludedDNSDomains:
  • aPermittedIPRanges:
  • aExcludedIPRanges:
  • aPermittedEmailAddresses:
  • aExcludedEmailAddresses:
  • aPermittedURIDomains:
  • aExcludedURIDomains:
  • aCRLDistributionPoints:
  • aPolicyIdentifiers:

CheckCRLSignature (Reference<CertificateList>): error .NET, .NET Standard 2.0

 

method CheckCRLSignature(crl: Reference<CertificateList>): error

 

error CheckCRLSignature(Reference<CertificateList> crl)

 

func CheckCRLSignature(_ crl: Reference<CertificateList>) -> error

 

func CheckCRLSignature(crl Reference<CertificateList>) error

Parameters:

  • crl:

CheckCRLSignature (Reference<CertificateList>): error Island, macOS

 

method CheckCRLSignature(crl: Reference<CertificateList>): error

 

error CheckCRLSignature(Reference<CertificateList> crl)

 

func CheckCRLSignature(_ crl: Reference<CertificateList>) -> error

 

func CheckCRLSignature(crl Reference<CertificateList>) error

Parameters:

  • crl:

CheckSignature

 

method CheckSignature(algo: SignatureAlgorithm; signed: Slice<Byte>; signature: Slice<Byte>): error

 

error CheckSignature(SignatureAlgorithm algo, Slice<Byte> signed, Slice<Byte> signature)

 

func CheckSignature(_ algo: SignatureAlgorithm, _ signed: Slice<Byte>, _ signature: Slice<Byte>) -> error

 

func CheckSignature(algo SignatureAlgorithm, signed Slice<Byte>, signature Slice<Byte>) error

Parameters:

  • algo:
  • signed:
  • signature:

CheckSignatureFrom

 

method CheckSignatureFrom(parent: Reference<Certificate>): error

 

error CheckSignatureFrom(Reference<Certificate> parent)

 

func CheckSignatureFrom(_ parent: Reference<Certificate>) -> error

 

func CheckSignatureFrom(parent Reference<Certificate>) error

Parameters:

  • parent:

CreateCRL

 

method CreateCRL(rand: Reader; priv: Object; revokedCerts: Slice<RevokedCertificate>; now: Time; expiry: Time): tuple of (crlBytes: Slice<Byte>, err: error)

 

(Slice<Byte> crlBytes, error err) CreateCRL(Reader rand, Object priv, Slice<RevokedCertificate> revokedCerts, Time now, Time expiry)

 

func CreateCRL(_ rand: Reader, _ priv: Object, _ revokedCerts: Slice<RevokedCertificate>, _ now: Time, _ expiry: Time) -> (crlBytes:Slice<Byte>, err:error)

 

func CreateCRL(rand Reader, priv interface{}, revokedCerts Slice<RevokedCertificate>, now Time, expiry Time) (crlBytes Slice<Byte>, err error)

Parameters:

  • rand:
  • priv:
  • revokedCerts:
  • now:
  • expiry:

Equal

 

method Equal(other: Reference<Certificate>): bool

 

bool Equal(Reference<Certificate> other)

 

func Equal(_ other: Reference<Certificate>) -> bool

 

func Equal(other Reference<Certificate>) bool

Parameters:

  • other:

Verify

 

method Verify(opts: VerifyOptions): tuple of (chains: Slice<Slice<Reference<Certificate>>>, err: error)

 

(Slice<Slice<Reference<Certificate>>> chains, error err) Verify(VerifyOptions opts)

 

func Verify(_ opts: VerifyOptions) -> (chains:Slice<Slice<Reference<Certificate>>>, err:error)

 

func Verify(opts VerifyOptions) (chains Slice<Slice<Reference<Certificate>>>, err error)

Parameters:

  • opts:

VerifyHostname

 

method VerifyHostname(h: string): error

 

error VerifyHostname(string h)

 

func VerifyHostname(_ h: string) -> error

 

func VerifyHostname(h string) error

Parameters:

  • h: