Certificate

Overview

Location

 

constructor

 

constructor

 

Certificate()

 

init()

 

Sub New()

 

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>)

 

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

 

constructor(value: Certificate)

 

Certificate(Certificate value)

 

init(_ value: Certificate)

 

Sub New(value As Certificate)

Parameters:

  • value:

AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>;

 

Slice<Byte> AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>

 

AuthorityKeyId Slice<Byte>

 

FIELD AuthorityKeyId() As Slice<Byte>

BasicConstraintsValid

 

var BasicConstraintsValid: bool;

 

bool BasicConstraintsValid

 

var BasicConstraintsValid: bool

 

BasicConstraintsValid bool

 

FIELD BasicConstraintsValid() As bool

CheckCRLSignature

 

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

 

error CheckCRLSignature(Reference<CertificateList> crl)

 

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

 

func CheckCRLSignature(crl Reference<CertificateList>) error

 

Function CheckCRLSignature(crl As Reference<CertificateList>) As 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

 

Function CheckSignature(algo As SignatureAlgorithm, signed As Slice<Byte>, signature As Slice<Byte>) As 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

 

Function CheckSignatureFrom(parent As Reference<Certificate>) As 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) -> (Slice<Byte>, error)

 

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

 

Function CreateCRL(rand As Reader, priv As Object, revokedCerts As Slice<RevokedCertificate>, now As Time, expiry As Time) As Tuple (Of Slice<Byte>, error)

Parameters:

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

CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>;

 

Slice<string> CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>

 

CRLDistributionPoints Slice<string>

 

FIELD CRLDistributionPoints() As Slice<string>

DNSNames

 

var DNSNames: Slice<string>;

 

Slice<string> DNSNames

 

var DNSNames: Slice<string>

 

DNSNames Slice<string>

 

FIELD DNSNames() As Slice<string>

EmailAddresses

 

var EmailAddresses: Slice<string>;

 

Slice<string> EmailAddresses

 

var EmailAddresses: Slice<string>

 

EmailAddresses Slice<string>

 

FIELD EmailAddresses() As 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

 

Function Equal(other As Reference<Certificate>) As bool

Parameters:

  • other:

ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>;

 

Slice<string> ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>

 

ExcludedDNSDomains Slice<string>

 

FIELD ExcludedDNSDomains() As Slice<string>

ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>;

 

Slice<string> ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>

 

ExcludedEmailAddresses Slice<string>

 

FIELD ExcludedEmailAddresses() As Slice<string>

ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>

 

ExcludedIPRanges Slice<Reference<IPNet>>

 

FIELD ExcludedIPRanges() As Slice<Reference<IPNet>>

ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>;

 

Slice<string> ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>

 

ExcludedURIDomains Slice<string>

 

FIELD ExcludedURIDomains() As Slice<string>

Extensions

 

var Extensions: Slice<Extension>;

 

Slice<Extension> Extensions

 

var Extensions: Slice<Extension>

 

Extensions Slice<Extension>

 

FIELD Extensions() As Slice<Extension>

ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>;

 

Slice<ExtKeyUsage> ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>

 

ExtKeyUsage Slice<ExtKeyUsage>

 

FIELD ExtKeyUsage() As Slice<ExtKeyUsage>

ExtraExtensions

 

var ExtraExtensions: Slice<Extension>;

 

Slice<Extension> ExtraExtensions

 

var ExtraExtensions: Slice<Extension>

 

ExtraExtensions Slice<Extension>

 

FIELD ExtraExtensions() As Slice<Extension>

IPAddresses

 

var IPAddresses: Slice<IP>;

 

Slice<IP> IPAddresses

 

var IPAddresses: Slice<IP>

 

IPAddresses Slice<IP>

 

FIELD IPAddresses() As Slice<IP>

IsCA

 

var IsCA: bool;

 

bool IsCA

 

var IsCA: bool

 

IsCA bool

 

FIELD IsCA() As bool

Issuer

 

var Issuer: Name;

 

Name Issuer

 

var Issuer: Name

 

Issuer Name

 

FIELD Issuer() As Name

IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>;

 

Slice<string> IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>

 

IssuingCertificateURL Slice<string>

 

FIELD IssuingCertificateURL() As Slice<string>

KeyUsage

 

var KeyUsage: KeyUsage;

 

KeyUsage KeyUsage

 

var KeyUsage: KeyUsage

 

KeyUsage KeyUsage

 

FIELD KeyUsage() As KeyUsage

MaxPathLen

 

var MaxPathLen: int;

 

int MaxPathLen

 

var MaxPathLen: int

 

MaxPathLen int

 

FIELD MaxPathLen() As int

MaxPathLenZero

 

var MaxPathLenZero: bool;

 

bool MaxPathLenZero

 

var MaxPathLenZero: bool

 

MaxPathLenZero bool

 

FIELD MaxPathLenZero() As bool

NotAfter

 

var NotAfter: Time;

 

Time NotAfter

 

var NotAfter: Time

 

NotAfter Time

 

FIELD NotAfter() As Time

NotBefore

 

var NotBefore: Time;

 

Time NotBefore

 

var NotBefore: Time

 

NotBefore Time

 

FIELD NotBefore() As Time

OCSPServer

 

var OCSPServer: Slice<string>;

 

Slice<string> OCSPServer

 

var OCSPServer: Slice<string>

 

OCSPServer Slice<string>

 

FIELD OCSPServer() As Slice<string>

PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>;

 

Slice<string> PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>

 

PermittedDNSDomains Slice<string>

 

FIELD PermittedDNSDomains() As Slice<string>

PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool;

 

bool PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool

 

PermittedDNSDomainsCritical bool

 

FIELD PermittedDNSDomainsCritical() As bool

PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>;

 

Slice<string> PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>

 

PermittedEmailAddresses Slice<string>

 

FIELD PermittedEmailAddresses() As Slice<string>

PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>

 

PermittedIPRanges Slice<Reference<IPNet>>

 

FIELD PermittedIPRanges() As Slice<Reference<IPNet>>

PermittedURIDomains

 

var PermittedURIDomains: Slice<string>;

 

Slice<string> PermittedURIDomains

 

var PermittedURIDomains: Slice<string>

 

PermittedURIDomains Slice<string>

 

FIELD PermittedURIDomains() As Slice<string>

PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>

 

PolicyIdentifiers Slice<ObjectIdentifier>

 

FIELD PolicyIdentifiers() As Slice<ObjectIdentifier>

PublicKey

 

var PublicKey: Object;

 

Object PublicKey

 

var PublicKey: Object

 

PublicKey interface{}

 

FIELD PublicKey() As Object

PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm;

 

PublicKeyAlgorithm PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm

 

PublicKeyAlgorithm PublicKeyAlgorithm

 

FIELD PublicKeyAlgorithm() As PublicKeyAlgorithm

Raw

 

var Raw: Slice<Byte>;

 

Slice<Byte> Raw

 

var Raw: Slice<Byte>

 

Raw Slice<Byte>

 

FIELD Raw() As Slice<Byte>

RawIssuer

 

var RawIssuer: Slice<Byte>;

 

Slice<Byte> RawIssuer

 

var RawIssuer: Slice<Byte>

 

RawIssuer Slice<Byte>

 

FIELD RawIssuer() As Slice<Byte>

RawSubject

 

var RawSubject: Slice<Byte>;

 

Slice<Byte> RawSubject

 

var RawSubject: Slice<Byte>

 

RawSubject Slice<Byte>

 

FIELD RawSubject() As Slice<Byte>

RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>;

 

Slice<Byte> RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>

 

RawSubjectPublicKeyInfo Slice<Byte>

 

FIELD RawSubjectPublicKeyInfo() As Slice<Byte>

RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>;

 

Slice<Byte> RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>

 

RawTBSCertificate Slice<Byte>

 

FIELD RawTBSCertificate() As Slice<Byte>

SerialNumber

 

var SerialNumber: Reference<Int>;

 

Reference<Int> SerialNumber

 

var SerialNumber: Reference<Int>

 

SerialNumber Reference<Int>

 

FIELD SerialNumber() As Reference<Int>

Signature

 

var Signature: Slice<Byte>;

 

Slice<Byte> Signature

 

var Signature: Slice<Byte>

 

Signature Slice<Byte>

 

FIELD Signature() As Slice<Byte>

SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm;

 

SignatureAlgorithm SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm

 

SignatureAlgorithm SignatureAlgorithm

 

FIELD SignatureAlgorithm() As SignatureAlgorithm

Subject

 

var Subject: Name;

 

Name Subject

 

var Subject: Name

 

Subject Name

 

FIELD Subject() As Name

SubjectKeyId

 

var SubjectKeyId: Slice<Byte>;

 

Slice<Byte> SubjectKeyId

 

var SubjectKeyId: Slice<Byte>

 

SubjectKeyId Slice<Byte>

 

FIELD SubjectKeyId() As Slice<Byte>

UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>

 

UnhandledCriticalExtensions Slice<ObjectIdentifier>

 

FIELD UnhandledCriticalExtensions() As Slice<ObjectIdentifier>

UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>

 

UnknownExtKeyUsage Slice<ObjectIdentifier>

 

FIELD UnknownExtKeyUsage() As Slice<ObjectIdentifier>

URIs

 

var URIs: Slice<Reference<URL>>;

 

Slice<Reference<URL>> URIs

 

var URIs: Slice<Reference<URL>>

 

URIs Slice<Reference<URL>>

 

FIELD URIs() As Slice<Reference<URL>>

Verify

 

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

 

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

 

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

 

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

 

Function Verify(opts As VerifyOptions) As Tuple (Of Slice<Slice<Certificate>>, error)

Parameters:

  • opts:

VerifyHostname

 

method VerifyHostname(h: string): error

 

error VerifyHostname(string h)

 

func VerifyHostname(_ h: string) -> error

 

func VerifyHostname(h string) error

 

Function VerifyHostname(h As string) As error

Parameters:

  • h:

Version

 

var Version: int;

 

int Version

 

var Version: int

 

Version int

 

FIELD Version() As int

 

AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>;

 

Slice<Byte> AuthorityKeyId

 

var AuthorityKeyId: Slice<Byte>

 

AuthorityKeyId Slice<Byte>

 

FIELD AuthorityKeyId() As Slice<Byte>

BasicConstraintsValid

 

var BasicConstraintsValid: bool;

 

bool BasicConstraintsValid

 

var BasicConstraintsValid: bool

 

BasicConstraintsValid bool

 

FIELD BasicConstraintsValid() As bool

CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>;

 

Slice<string> CRLDistributionPoints

 

var CRLDistributionPoints: Slice<string>

 

CRLDistributionPoints Slice<string>

 

FIELD CRLDistributionPoints() As Slice<string>

DNSNames

 

var DNSNames: Slice<string>;

 

Slice<string> DNSNames

 

var DNSNames: Slice<string>

 

DNSNames Slice<string>

 

FIELD DNSNames() As Slice<string>

EmailAddresses

 

var EmailAddresses: Slice<string>;

 

Slice<string> EmailAddresses

 

var EmailAddresses: Slice<string>

 

EmailAddresses Slice<string>

 

FIELD EmailAddresses() As Slice<string>

ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>;

 

Slice<string> ExcludedDNSDomains

 

var ExcludedDNSDomains: Slice<string>

 

ExcludedDNSDomains Slice<string>

 

FIELD ExcludedDNSDomains() As Slice<string>

ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>;

 

Slice<string> ExcludedEmailAddresses

 

var ExcludedEmailAddresses: Slice<string>

 

ExcludedEmailAddresses Slice<string>

 

FIELD ExcludedEmailAddresses() As Slice<string>

ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> ExcludedIPRanges

 

var ExcludedIPRanges: Slice<Reference<IPNet>>

 

ExcludedIPRanges Slice<Reference<IPNet>>

 

FIELD ExcludedIPRanges() As Slice<Reference<IPNet>>

ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>;

 

Slice<string> ExcludedURIDomains

 

var ExcludedURIDomains: Slice<string>

 

ExcludedURIDomains Slice<string>

 

FIELD ExcludedURIDomains() As Slice<string>

Extensions

 

var Extensions: Slice<Extension>;

 

Slice<Extension> Extensions

 

var Extensions: Slice<Extension>

 

Extensions Slice<Extension>

 

FIELD Extensions() As Slice<Extension>

ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>;

 

Slice<ExtKeyUsage> ExtKeyUsage

 

var ExtKeyUsage: Slice<ExtKeyUsage>

 

ExtKeyUsage Slice<ExtKeyUsage>

 

FIELD ExtKeyUsage() As Slice<ExtKeyUsage>

ExtraExtensions

 

var ExtraExtensions: Slice<Extension>;

 

Slice<Extension> ExtraExtensions

 

var ExtraExtensions: Slice<Extension>

 

ExtraExtensions Slice<Extension>

 

FIELD ExtraExtensions() As Slice<Extension>

IPAddresses

 

var IPAddresses: Slice<IP>;

 

Slice<IP> IPAddresses

 

var IPAddresses: Slice<IP>

 

IPAddresses Slice<IP>

 

FIELD IPAddresses() As Slice<IP>

IsCA

 

var IsCA: bool;

 

bool IsCA

 

var IsCA: bool

 

IsCA bool

 

FIELD IsCA() As bool

Issuer

 

var Issuer: Name;

 

Name Issuer

 

var Issuer: Name

 

Issuer Name

 

FIELD Issuer() As Name

IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>;

 

Slice<string> IssuingCertificateURL

 

var IssuingCertificateURL: Slice<string>

 

IssuingCertificateURL Slice<string>

 

FIELD IssuingCertificateURL() As Slice<string>

KeyUsage

 

var KeyUsage: KeyUsage;

 

KeyUsage KeyUsage

 

var KeyUsage: KeyUsage

 

KeyUsage KeyUsage

 

FIELD KeyUsage() As KeyUsage

MaxPathLen

 

var MaxPathLen: int;

 

int MaxPathLen

 

var MaxPathLen: int

 

MaxPathLen int

 

FIELD MaxPathLen() As int

MaxPathLenZero

 

var MaxPathLenZero: bool;

 

bool MaxPathLenZero

 

var MaxPathLenZero: bool

 

MaxPathLenZero bool

 

FIELD MaxPathLenZero() As bool

NotAfter

 

var NotAfter: Time;

 

Time NotAfter

 

var NotAfter: Time

 

NotAfter Time

 

FIELD NotAfter() As Time

NotBefore

 

var NotBefore: Time;

 

Time NotBefore

 

var NotBefore: Time

 

NotBefore Time

 

FIELD NotBefore() As Time

OCSPServer

 

var OCSPServer: Slice<string>;

 

Slice<string> OCSPServer

 

var OCSPServer: Slice<string>

 

OCSPServer Slice<string>

 

FIELD OCSPServer() As Slice<string>

PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>;

 

Slice<string> PermittedDNSDomains

 

var PermittedDNSDomains: Slice<string>

 

PermittedDNSDomains Slice<string>

 

FIELD PermittedDNSDomains() As Slice<string>

PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool;

 

bool PermittedDNSDomainsCritical

 

var PermittedDNSDomainsCritical: bool

 

PermittedDNSDomainsCritical bool

 

FIELD PermittedDNSDomainsCritical() As bool

PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>;

 

Slice<string> PermittedEmailAddresses

 

var PermittedEmailAddresses: Slice<string>

 

PermittedEmailAddresses Slice<string>

 

FIELD PermittedEmailAddresses() As Slice<string>

PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>;

 

Slice<Reference<IPNet>> PermittedIPRanges

 

var PermittedIPRanges: Slice<Reference<IPNet>>

 

PermittedIPRanges Slice<Reference<IPNet>>

 

FIELD PermittedIPRanges() As Slice<Reference<IPNet>>

PermittedURIDomains

 

var PermittedURIDomains: Slice<string>;

 

Slice<string> PermittedURIDomains

 

var PermittedURIDomains: Slice<string>

 

PermittedURIDomains Slice<string>

 

FIELD PermittedURIDomains() As Slice<string>

PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> PolicyIdentifiers

 

var PolicyIdentifiers: Slice<ObjectIdentifier>

 

PolicyIdentifiers Slice<ObjectIdentifier>

 

FIELD PolicyIdentifiers() As Slice<ObjectIdentifier>

PublicKey

 

var PublicKey: Object;

 

Object PublicKey

 

var PublicKey: Object

 

PublicKey interface{}

 

FIELD PublicKey() As Object

PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm;

 

PublicKeyAlgorithm PublicKeyAlgorithm

 

var PublicKeyAlgorithm: PublicKeyAlgorithm

 

PublicKeyAlgorithm PublicKeyAlgorithm

 

FIELD PublicKeyAlgorithm() As PublicKeyAlgorithm

Raw

 

var Raw: Slice<Byte>;

 

Slice<Byte> Raw

 

var Raw: Slice<Byte>

 

Raw Slice<Byte>

 

FIELD Raw() As Slice<Byte>

RawIssuer

 

var RawIssuer: Slice<Byte>;

 

Slice<Byte> RawIssuer

 

var RawIssuer: Slice<Byte>

 

RawIssuer Slice<Byte>

 

FIELD RawIssuer() As Slice<Byte>

RawSubject

 

var RawSubject: Slice<Byte>;

 

Slice<Byte> RawSubject

 

var RawSubject: Slice<Byte>

 

RawSubject Slice<Byte>

 

FIELD RawSubject() As Slice<Byte>

RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>;

 

Slice<Byte> RawSubjectPublicKeyInfo

 

var RawSubjectPublicKeyInfo: Slice<Byte>

 

RawSubjectPublicKeyInfo Slice<Byte>

 

FIELD RawSubjectPublicKeyInfo() As Slice<Byte>

RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>;

 

Slice<Byte> RawTBSCertificate

 

var RawTBSCertificate: Slice<Byte>

 

RawTBSCertificate Slice<Byte>

 

FIELD RawTBSCertificate() As Slice<Byte>

SerialNumber

 

var SerialNumber: Reference<Int>;

 

Reference<Int> SerialNumber

 

var SerialNumber: Reference<Int>

 

SerialNumber Reference<Int>

 

FIELD SerialNumber() As Reference<Int>

Signature

 

var Signature: Slice<Byte>;

 

Slice<Byte> Signature

 

var Signature: Slice<Byte>

 

Signature Slice<Byte>

 

FIELD Signature() As Slice<Byte>

SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm;

 

SignatureAlgorithm SignatureAlgorithm

 

var SignatureAlgorithm: SignatureAlgorithm

 

SignatureAlgorithm SignatureAlgorithm

 

FIELD SignatureAlgorithm() As SignatureAlgorithm

Subject

 

var Subject: Name;

 

Name Subject

 

var Subject: Name

 

Subject Name

 

FIELD Subject() As Name

SubjectKeyId

 

var SubjectKeyId: Slice<Byte>;

 

Slice<Byte> SubjectKeyId

 

var SubjectKeyId: Slice<Byte>

 

SubjectKeyId Slice<Byte>

 

FIELD SubjectKeyId() As Slice<Byte>

UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnhandledCriticalExtensions

 

var UnhandledCriticalExtensions: Slice<ObjectIdentifier>

 

UnhandledCriticalExtensions Slice<ObjectIdentifier>

 

FIELD UnhandledCriticalExtensions() As Slice<ObjectIdentifier>

UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>;

 

Slice<ObjectIdentifier> UnknownExtKeyUsage

 

var UnknownExtKeyUsage: Slice<ObjectIdentifier>

 

UnknownExtKeyUsage Slice<ObjectIdentifier>

 

FIELD UnknownExtKeyUsage() As Slice<ObjectIdentifier>

URIs

 

var URIs: Slice<Reference<URL>>;

 

Slice<Reference<URL>> URIs

 

var URIs: Slice<Reference<URL>>

 

URIs Slice<Reference<URL>>

 

FIELD URIs() As Slice<Reference<URL>>

Version

 

var Version: int;

 

int Version

 

var Version: int

 

Version int

 

FIELD Version() As int

 

constructor

 

constructor

 

Certificate()

 

init()

 

Sub New()

 

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>)

 

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

 

constructor(value: Certificate)

 

Certificate(Certificate value)

 

init(_ value: Certificate)

 

Sub New(value As Certificate)

Parameters:

  • value:

CheckCRLSignature

 

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

 

error CheckCRLSignature(Reference<CertificateList> crl)

 

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

 

func CheckCRLSignature(crl Reference<CertificateList>) error

 

Function CheckCRLSignature(crl As Reference<CertificateList>) As 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

 

Function CheckSignature(algo As SignatureAlgorithm, signed As Slice<Byte>, signature As Slice<Byte>) As 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

 

Function CheckSignatureFrom(parent As Reference<Certificate>) As 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) -> (Slice<Byte>, error)

 

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

 

Function CreateCRL(rand As Reader, priv As Object, revokedCerts As Slice<RevokedCertificate>, now As Time, expiry As Time) As Tuple (Of Slice<Byte>, 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

 

Function Equal(other As Reference<Certificate>) As bool

Parameters:

  • other:

Verify

 

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

 

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

 

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

 

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

 

Function Verify(opts As VerifyOptions) As Tuple (Of Slice<Slice<Certificate>>, error)

Parameters:

  • opts:

VerifyHostname

 

method VerifyHostname(h: string): error

 

error VerifyHostname(string h)

 

func VerifyHostname(_ h: string) -> error

 

func VerifyHostname(h string) error

 

Function VerifyHostname(h As string) As error

Parameters:

  • h: