Global

Location

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

 

constructor Island

 

constructor

 

__Global()

 

init()

CANotAuthorizedForExtKeyUsage

 

const CANotAuthorizedForExtKeyUsage: InvalidReason = 9;

 

const InvalidReason CANotAuthorizedForExtKeyUsage = 9

 

static let CANotAuthorizedForExtKeyUsage: InvalidReason = 9

 

const CANotAuthorizedForExtKeyUsage InvalidReason =  = 9

CANotAuthorizedForThisName

 

const CANotAuthorizedForThisName: InvalidReason = 2;

 

const InvalidReason CANotAuthorizedForThisName = 2

 

static let CANotAuthorizedForThisName: InvalidReason = 2

 

const CANotAuthorizedForThisName InvalidReason =  = 2

CreateCertificate

 

class method CreateCertificate(rand: Reader; template: Reference<Certificate>; parent: Reference<Certificate>; pub: Object; priv: Object): tuple of (cert: Slice<Byte>, err: error)

 

static (Slice<Byte> cert, error err) CreateCertificate(Reader rand, Reference<Certificate> template, Reference<Certificate> parent, Object pub, Object priv)

 

static func CreateCertificate(_ rand: Reader, _ template: Reference<Certificate>, _ parent: Reference<Certificate>, _ pub: Object, _ priv: Object) -> (cert:Slice<Byte>, err:error)

 

func CreateCertificate(rand Reader, template Reference<Certificate>, parent Reference<Certificate>, pub interface{}, priv interface{}) (cert Slice<Byte>, err error)

Parameters:

  • rand:
  • template:
  • parent:
  • pub:
  • priv:

CreateCertificateRequest

 

class method CreateCertificateRequest(rand: Reader; template: Reference<CertificateRequest>; priv: Object): tuple of (csr: Slice<Byte>, err: error)

 

static (Slice<Byte> csr, error err) CreateCertificateRequest(Reader rand, Reference<CertificateRequest> template, Object priv)

 

static func CreateCertificateRequest(_ rand: Reader, _ template: Reference<CertificateRequest>, _ priv: Object) -> (csr:Slice<Byte>, err:error)

 

func CreateCertificateRequest(rand Reader, template Reference<CertificateRequest>, priv interface{}) (csr Slice<Byte>, err error)

Parameters:

  • rand:
  • template:
  • priv:

DecryptPEMBlock

 

// .NET, Island
class method DecryptPEMBlock(b: Reference<Block>; password: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method DecryptPEMBlock(b: Reference<Block>; password: Slice<Byte>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) DecryptPEMBlock(Reference<Block> b, Slice<Byte> password)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> DecryptPEMBlock(Reference<Block> b, Slice<Byte> password)

 

// .NET, Island
static func DecryptPEMBlock(_ b: Reference<Block>, _ password: Slice<Byte>) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func DecryptPEMBlock(_ b: Reference<Block>, _ password: Slice<Byte>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func DecryptPEMBlock(b Reference<Block>, password Slice<Byte>) (Slice<Byte>, error)
// .NET Standard 2.0
func DecryptPEMBlock(b Reference<Block>, password Slice<Byte>) ValueTuple<Slice<Byte>, error>

Parameters:

  • b:
  • password:

DSA

 

const DSA: PublicKeyAlgorithm = 2;

 

const PublicKeyAlgorithm DSA = 2

 

static let DSA: PublicKeyAlgorithm = 2

 

const DSA PublicKeyAlgorithm =  = 2

DSAWithSHA1

 

const DSAWithSHA1: SignatureAlgorithm = 7;

 

const SignatureAlgorithm DSAWithSHA1 = 7

 

static let DSAWithSHA1: SignatureAlgorithm = 7

 

const DSAWithSHA1 SignatureAlgorithm =  = 7

DSAWithSHA256

 

const DSAWithSHA256: SignatureAlgorithm = 8;

 

const SignatureAlgorithm DSAWithSHA256 = 8

 

static let DSAWithSHA256: SignatureAlgorithm = 8

 

const DSAWithSHA256 SignatureAlgorithm =  = 8

ECDSA

 

const ECDSA: PublicKeyAlgorithm = 3;

 

const PublicKeyAlgorithm ECDSA = 3

 

static let ECDSA: PublicKeyAlgorithm = 3

 

const ECDSA PublicKeyAlgorithm =  = 3

ECDSAWithSHA1

 

const ECDSAWithSHA1: SignatureAlgorithm = 9;

 

const SignatureAlgorithm ECDSAWithSHA1 = 9

 

static let ECDSAWithSHA1: SignatureAlgorithm = 9

 

const ECDSAWithSHA1 SignatureAlgorithm =  = 9

ECDSAWithSHA256

 

const ECDSAWithSHA256: SignatureAlgorithm = 10;

 

const SignatureAlgorithm ECDSAWithSHA256 = 10

 

static let ECDSAWithSHA256: SignatureAlgorithm = 10

 

const ECDSAWithSHA256 SignatureAlgorithm =  = 10

ECDSAWithSHA384

 

const ECDSAWithSHA384: SignatureAlgorithm = 11;

 

const SignatureAlgorithm ECDSAWithSHA384 = 11

 

static let ECDSAWithSHA384: SignatureAlgorithm = 11

 

const ECDSAWithSHA384 SignatureAlgorithm =  = 11

ECDSAWithSHA512

 

const ECDSAWithSHA512: SignatureAlgorithm = 12;

 

const SignatureAlgorithm ECDSAWithSHA512 = 12

 

static let ECDSAWithSHA512: SignatureAlgorithm = 12

 

const ECDSAWithSHA512 SignatureAlgorithm =  = 12

Ed25519

 

const Ed25519: PublicKeyAlgorithm = 4;

 

const PublicKeyAlgorithm Ed25519 = 4

 

static let Ed25519: PublicKeyAlgorithm = 4

 

const Ed25519 PublicKeyAlgorithm =  = 4

EncryptPEMBlock

 

// .NET, Island
class method EncryptPEMBlock(rand: Reader; blockType: string; data: Slice<Byte>; password: Slice<Byte>; alg: PEMCipher): tuple of (Reference<Block>, error)
// .NET Standard 2.0
class method EncryptPEMBlock(rand: Reader; blockType: string; data: Slice<Byte>; password: Slice<Byte>; alg: PEMCipher): ValueTuple<Reference<Block>, error>

 

// .NET, Island
static (Reference<Block>, error) EncryptPEMBlock(Reader rand, string blockType, Slice<Byte> data, Slice<Byte> password, PEMCipher alg)
// .NET Standard 2.0
static ValueTuple<Reference<Block>, error> EncryptPEMBlock(Reader rand, string blockType, Slice<Byte> data, Slice<Byte> password, PEMCipher alg)

 

// .NET, Island
static func EncryptPEMBlock(_ rand: Reader, _ blockType: string, _ data: Slice<Byte>, _ password: Slice<Byte>, _ alg: PEMCipher) -> (Reference<Block>, error)
// .NET Standard 2.0
static func EncryptPEMBlock(_ rand: Reader, _ blockType: string, _ data: Slice<Byte>, _ password: Slice<Byte>, _ alg: PEMCipher) -> ValueTuple<Reference<Block>, error>

 

// .NET, Island
func EncryptPEMBlock(rand Reader, blockType string, data Slice<Byte>, password Slice<Byte>, alg PEMCipher) (Reference<Block>, error)
// .NET Standard 2.0
func EncryptPEMBlock(rand Reader, blockType string, data Slice<Byte>, password Slice<Byte>, alg PEMCipher) ValueTuple<Reference<Block>, error>

Parameters:

  • rand:
  • blockType:
  • data:
  • password:
  • alg:

ErrUnsupportedAlgorithm

 

class var ErrUnsupportedAlgorithm: error;

 

static error ErrUnsupportedAlgorithm

 

static var ErrUnsupportedAlgorithm: error

 

ErrUnsupportedAlgorithm error

Expired

 

const Expired: InvalidReason = 1;

 

const InvalidReason Expired = 1

 

static let Expired: InvalidReason = 1

 

const Expired InvalidReason =  = 1

ExtKeyUsageAny

 

const ExtKeyUsageAny: ExtKeyUsage = 0;

 

const ExtKeyUsage ExtKeyUsageAny = 0

 

static let ExtKeyUsageAny: ExtKeyUsage = 0

 

const ExtKeyUsageAny ExtKeyUsage =  = 0

ExtKeyUsageClientAuth

 

const ExtKeyUsageClientAuth: ExtKeyUsage = 2;

 

const ExtKeyUsage ExtKeyUsageClientAuth = 2

 

static let ExtKeyUsageClientAuth: ExtKeyUsage = 2

 

const ExtKeyUsageClientAuth ExtKeyUsage =  = 2

ExtKeyUsageCodeSigning

 

const ExtKeyUsageCodeSigning: ExtKeyUsage = 3;

 

const ExtKeyUsage ExtKeyUsageCodeSigning = 3

 

static let ExtKeyUsageCodeSigning: ExtKeyUsage = 3

 

const ExtKeyUsageCodeSigning ExtKeyUsage =  = 3

ExtKeyUsageEmailProtection

 

const ExtKeyUsageEmailProtection: ExtKeyUsage = 4;

 

const ExtKeyUsage ExtKeyUsageEmailProtection = 4

 

static let ExtKeyUsageEmailProtection: ExtKeyUsage = 4

 

const ExtKeyUsageEmailProtection ExtKeyUsage =  = 4

ExtKeyUsageIPSECEndSystem

 

const ExtKeyUsageIPSECEndSystem: ExtKeyUsage = 5;

 

const ExtKeyUsage ExtKeyUsageIPSECEndSystem = 5

 

static let ExtKeyUsageIPSECEndSystem: ExtKeyUsage = 5

 

const ExtKeyUsageIPSECEndSystem ExtKeyUsage =  = 5

ExtKeyUsageIPSECTunnel

 

const ExtKeyUsageIPSECTunnel: ExtKeyUsage = 6;

 

const ExtKeyUsage ExtKeyUsageIPSECTunnel = 6

 

static let ExtKeyUsageIPSECTunnel: ExtKeyUsage = 6

 

const ExtKeyUsageIPSECTunnel ExtKeyUsage =  = 6

ExtKeyUsageIPSECUser

 

const ExtKeyUsageIPSECUser: ExtKeyUsage = 7;

 

const ExtKeyUsage ExtKeyUsageIPSECUser = 7

 

static let ExtKeyUsageIPSECUser: ExtKeyUsage = 7

 

const ExtKeyUsageIPSECUser ExtKeyUsage =  = 7

ExtKeyUsageMicrosoftCommercialCodeSigning

 

const ExtKeyUsageMicrosoftCommercialCodeSigning: ExtKeyUsage = 12;

 

const ExtKeyUsage ExtKeyUsageMicrosoftCommercialCodeSigning = 12

 

static let ExtKeyUsageMicrosoftCommercialCodeSigning: ExtKeyUsage = 12

 

const ExtKeyUsageMicrosoftCommercialCodeSigning ExtKeyUsage =  = 12

ExtKeyUsageMicrosoftKernelCodeSigning

 

const ExtKeyUsageMicrosoftKernelCodeSigning: ExtKeyUsage = 13;

 

const ExtKeyUsage ExtKeyUsageMicrosoftKernelCodeSigning = 13

 

static let ExtKeyUsageMicrosoftKernelCodeSigning: ExtKeyUsage = 13

 

const ExtKeyUsageMicrosoftKernelCodeSigning ExtKeyUsage =  = 13

ExtKeyUsageMicrosoftServerGatedCrypto

 

const ExtKeyUsageMicrosoftServerGatedCrypto: ExtKeyUsage = 10;

 

const ExtKeyUsage ExtKeyUsageMicrosoftServerGatedCrypto = 10

 

static let ExtKeyUsageMicrosoftServerGatedCrypto: ExtKeyUsage = 10

 

const ExtKeyUsageMicrosoftServerGatedCrypto ExtKeyUsage =  = 10

ExtKeyUsageNetscapeServerGatedCrypto

 

const ExtKeyUsageNetscapeServerGatedCrypto: ExtKeyUsage = 11;

 

const ExtKeyUsage ExtKeyUsageNetscapeServerGatedCrypto = 11

 

static let ExtKeyUsageNetscapeServerGatedCrypto: ExtKeyUsage = 11

 

const ExtKeyUsageNetscapeServerGatedCrypto ExtKeyUsage =  = 11

ExtKeyUsageOCSPSigning

 

const ExtKeyUsageOCSPSigning: ExtKeyUsage = 9;

 

const ExtKeyUsage ExtKeyUsageOCSPSigning = 9

 

static let ExtKeyUsageOCSPSigning: ExtKeyUsage = 9

 

const ExtKeyUsageOCSPSigning ExtKeyUsage =  = 9

ExtKeyUsageServerAuth

 

const ExtKeyUsageServerAuth: ExtKeyUsage = 1;

 

const ExtKeyUsage ExtKeyUsageServerAuth = 1

 

static let ExtKeyUsageServerAuth: ExtKeyUsage = 1

 

const ExtKeyUsageServerAuth ExtKeyUsage =  = 1

ExtKeyUsageTimeStamping

 

const ExtKeyUsageTimeStamping: ExtKeyUsage = 8;

 

const ExtKeyUsage ExtKeyUsageTimeStamping = 8

 

static let ExtKeyUsageTimeStamping: ExtKeyUsage = 8

 

const ExtKeyUsageTimeStamping ExtKeyUsage =  = 8

IncompatibleUsage

 

const IncompatibleUsage: InvalidReason = 4;

 

const InvalidReason IncompatibleUsage = 4

 

static let IncompatibleUsage: InvalidReason = 4

 

const IncompatibleUsage InvalidReason =  = 4

IncorrectPasswordError

 

class var IncorrectPasswordError: error;

 

static error IncorrectPasswordError

 

static var IncorrectPasswordError: error

 

IncorrectPasswordError error

IsEncryptedPEMBlock

 

class method IsEncryptedPEMBlock(b: Reference<Block>): bool

 

static bool IsEncryptedPEMBlock(Reference<Block> b)

 

static func IsEncryptedPEMBlock(_ b: Reference<Block>) -> bool

 

func IsEncryptedPEMBlock(b Reference<Block>) bool

Parameters:

  • b:

KeyUsageCertSign

 

const KeyUsageCertSign: KeyUsage = 32;

 

const KeyUsage KeyUsageCertSign = 32

 

static let KeyUsageCertSign: KeyUsage = 32

 

const KeyUsageCertSign KeyUsage =  = 32

KeyUsageContentCommitment

 

const KeyUsageContentCommitment: KeyUsage = 2;

 

const KeyUsage KeyUsageContentCommitment = 2

 

static let KeyUsageContentCommitment: KeyUsage = 2

 

const KeyUsageContentCommitment KeyUsage =  = 2

KeyUsageCRLSign

 

const KeyUsageCRLSign: KeyUsage = 64;

 

const KeyUsage KeyUsageCRLSign = 64

 

static let KeyUsageCRLSign: KeyUsage = 64

 

const KeyUsageCRLSign KeyUsage =  = 64

KeyUsageDataEncipherment

 

const KeyUsageDataEncipherment: KeyUsage = 8;

 

const KeyUsage KeyUsageDataEncipherment = 8

 

static let KeyUsageDataEncipherment: KeyUsage = 8

 

const KeyUsageDataEncipherment KeyUsage =  = 8

KeyUsageDecipherOnly

 

const KeyUsageDecipherOnly: KeyUsage = 256;

 

const KeyUsage KeyUsageDecipherOnly = 256

 

static let KeyUsageDecipherOnly: KeyUsage = 256

 

const KeyUsageDecipherOnly KeyUsage =  = 256

KeyUsageDigitalSignature

 

const KeyUsageDigitalSignature: KeyUsage = 1;

 

const KeyUsage KeyUsageDigitalSignature = 1

 

static let KeyUsageDigitalSignature: KeyUsage = 1

 

const KeyUsageDigitalSignature KeyUsage =  = 1

KeyUsageEncipherOnly

 

const KeyUsageEncipherOnly: KeyUsage = 128;

 

const KeyUsage KeyUsageEncipherOnly = 128

 

static let KeyUsageEncipherOnly: KeyUsage = 128

 

const KeyUsageEncipherOnly KeyUsage =  = 128

KeyUsageKeyAgreement

 

const KeyUsageKeyAgreement: KeyUsage = 16;

 

const KeyUsage KeyUsageKeyAgreement = 16

 

static let KeyUsageKeyAgreement: KeyUsage = 16

 

const KeyUsageKeyAgreement KeyUsage =  = 16

KeyUsageKeyEncipherment

 

const KeyUsageKeyEncipherment: KeyUsage = 4;

 

const KeyUsage KeyUsageKeyEncipherment = 4

 

static let KeyUsageKeyEncipherment: KeyUsage = 4

 

const KeyUsageKeyEncipherment KeyUsage =  = 4

MarshalECPrivateKey

 

// .NET, Island
class method MarshalECPrivateKey(key: Reference<PrivateKey>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method MarshalECPrivateKey(key: Reference<PrivateKey>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) MarshalECPrivateKey(Reference<PrivateKey> key)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> MarshalECPrivateKey(Reference<PrivateKey> key)

 

// .NET, Island
static func MarshalECPrivateKey(_ key: Reference<PrivateKey>) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func MarshalECPrivateKey(_ key: Reference<PrivateKey>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func MarshalECPrivateKey(key Reference<PrivateKey>) (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalECPrivateKey(key Reference<PrivateKey>) ValueTuple<Slice<Byte>, error>

Parameters:

  • key:

MarshalPKCS1PrivateKey

 

class method MarshalPKCS1PrivateKey(key: Reference<PrivateKey>): Slice<Byte>

 

static Slice<Byte> MarshalPKCS1PrivateKey(Reference<PrivateKey> key)

 

static func MarshalPKCS1PrivateKey(_ key: Reference<PrivateKey>) -> Slice<Byte>

 

func MarshalPKCS1PrivateKey(key Reference<PrivateKey>) Slice<Byte>

Parameters:

  • key:

MarshalPKCS1PublicKey

 

class method MarshalPKCS1PublicKey(key: Reference<PublicKey>): Slice<Byte>

 

static Slice<Byte> MarshalPKCS1PublicKey(Reference<PublicKey> key)

 

static func MarshalPKCS1PublicKey(_ key: Reference<PublicKey>) -> Slice<Byte>

 

func MarshalPKCS1PublicKey(key Reference<PublicKey>) Slice<Byte>

Parameters:

  • key:

MarshalPKCS8PrivateKey

 

// .NET, Island
class method MarshalPKCS8PrivateKey(key: Object): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method MarshalPKCS8PrivateKey(key: Object): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) MarshalPKCS8PrivateKey(Object key)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> MarshalPKCS8PrivateKey(Object key)

 

// .NET, Island
static func MarshalPKCS8PrivateKey(_ key: Object) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func MarshalPKCS8PrivateKey(_ key: Object) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func MarshalPKCS8PrivateKey(key interface{}) (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalPKCS8PrivateKey(key interface{}) ValueTuple<Slice<Byte>, error>

Parameters:

  • key:

MarshalPKIXPublicKey

 

// .NET, Island
class method MarshalPKIXPublicKey(pub: Object): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method MarshalPKIXPublicKey(pub: Object): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) MarshalPKIXPublicKey(Object pub)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> MarshalPKIXPublicKey(Object pub)

 

// .NET, Island
static func MarshalPKIXPublicKey(_ pub: Object) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func MarshalPKIXPublicKey(_ pub: Object) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func MarshalPKIXPublicKey(pub interface{}) (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalPKIXPublicKey(pub interface{}) ValueTuple<Slice<Byte>, error>

Parameters:

  • pub:

MD2WithRSA

 

const MD2WithRSA: SignatureAlgorithm = 1;

 

const SignatureAlgorithm MD2WithRSA = 1

 

static let MD2WithRSA: SignatureAlgorithm = 1

 

const MD2WithRSA SignatureAlgorithm =  = 1

MD5WithRSA

 

const MD5WithRSA: SignatureAlgorithm = 2;

 

const SignatureAlgorithm MD5WithRSA = 2

 

static let MD5WithRSA: SignatureAlgorithm = 2

 

const MD5WithRSA SignatureAlgorithm =  = 2

NameConstraintsWithoutSANs

 

const NameConstraintsWithoutSANs: InvalidReason = 6;

 

const InvalidReason NameConstraintsWithoutSANs = 6

 

static let NameConstraintsWithoutSANs: InvalidReason = 6

 

const NameConstraintsWithoutSANs InvalidReason =  = 6

NameMismatch

 

const NameMismatch: InvalidReason = 5;

 

const InvalidReason NameMismatch = 5

 

static let NameMismatch: InvalidReason = 5

 

const NameMismatch InvalidReason =  = 5

NewCertPool

 

class method NewCertPool: Reference<CertPool>

 

static Reference<CertPool> NewCertPool()

 

static func NewCertPool() -> Reference<CertPool>

 

func NewCertPool() Reference<CertPool>

NotAuthorizedToSign

 

const NotAuthorizedToSign: InvalidReason = 0;

 

const InvalidReason NotAuthorizedToSign = 0

 

static let NotAuthorizedToSign: InvalidReason = 0

 

const NotAuthorizedToSign InvalidReason =  = 0

ParseCertificate

 

// .NET, Island
class method ParseCertificate(asn1Data: Slice<Byte>): tuple of (Reference<Certificate>, error)
// .NET Standard 2.0
class method ParseCertificate(asn1Data: Slice<Byte>): ValueTuple<Reference<Certificate>, error>

 

// .NET, Island
static (Reference<Certificate>, error) ParseCertificate(Slice<Byte> asn1Data)
// .NET Standard 2.0
static ValueTuple<Reference<Certificate>, error> ParseCertificate(Slice<Byte> asn1Data)

 

// .NET, Island
static func ParseCertificate(_ asn1Data: Slice<Byte>) -> (Reference<Certificate>, error)
// .NET Standard 2.0
static func ParseCertificate(_ asn1Data: Slice<Byte>) -> ValueTuple<Reference<Certificate>, error>

 

// .NET, Island
func ParseCertificate(asn1Data Slice<Byte>) (Reference<Certificate>, error)
// .NET Standard 2.0
func ParseCertificate(asn1Data Slice<Byte>) ValueTuple<Reference<Certificate>, error>

Parameters:

  • asn1Data:

ParseCertificateRequest

 

// .NET, Island
class method ParseCertificateRequest(asn1Data: Slice<Byte>): tuple of (Reference<CertificateRequest>, error)
// .NET Standard 2.0
class method ParseCertificateRequest(asn1Data: Slice<Byte>): ValueTuple<Reference<CertificateRequest>, error>

 

// .NET, Island
static (Reference<CertificateRequest>, error) ParseCertificateRequest(Slice<Byte> asn1Data)
// .NET Standard 2.0
static ValueTuple<Reference<CertificateRequest>, error> ParseCertificateRequest(Slice<Byte> asn1Data)

 

// .NET, Island
static func ParseCertificateRequest(_ asn1Data: Slice<Byte>) -> (Reference<CertificateRequest>, error)
// .NET Standard 2.0
static func ParseCertificateRequest(_ asn1Data: Slice<Byte>) -> ValueTuple<Reference<CertificateRequest>, error>

 

// .NET, Island
func ParseCertificateRequest(asn1Data Slice<Byte>) (Reference<CertificateRequest>, error)
// .NET Standard 2.0
func ParseCertificateRequest(asn1Data Slice<Byte>) ValueTuple<Reference<CertificateRequest>, error>

Parameters:

  • asn1Data:

ParseCertificates

 

// .NET, Island
class method ParseCertificates(asn1Data: Slice<Byte>): tuple of (Slice<Reference<Certificate>>, error)
// .NET Standard 2.0
class method ParseCertificates(asn1Data: Slice<Byte>): ValueTuple<Slice<Reference<Certificate>>, error>

 

// .NET, Island
static (Slice<Reference<Certificate>>, error) ParseCertificates(Slice<Byte> asn1Data)
// .NET Standard 2.0
static ValueTuple<Slice<Reference<Certificate>>, error> ParseCertificates(Slice<Byte> asn1Data)

 

// .NET, Island
static func ParseCertificates(_ asn1Data: Slice<Byte>) -> (Slice<Reference<Certificate>>, error)
// .NET Standard 2.0
static func ParseCertificates(_ asn1Data: Slice<Byte>) -> ValueTuple<Slice<Reference<Certificate>>, error>

 

// .NET, Island
func ParseCertificates(asn1Data Slice<Byte>) (Slice<Reference<Certificate>>, error)
// .NET Standard 2.0
func ParseCertificates(asn1Data Slice<Byte>) ValueTuple<Slice<Reference<Certificate>>, error>

Parameters:

  • asn1Data:

ParseCRL

 

// .NET
class method ParseCRL(crlBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)
// .NET Standard 2.0
class method ParseCRL(crlBytes: Slice<Byte>): ValueTuple<Reference<CertificateList>, error>
// Island
class method ParseCRL(crlBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)

 

// .NET
static (Reference<CertificateList>, error) ParseCRL(Slice<Byte> crlBytes)
// .NET Standard 2.0
static ValueTuple<Reference<CertificateList>, error> ParseCRL(Slice<Byte> crlBytes)
// Island
static (Reference<CertificateList>, error) ParseCRL(Slice<Byte> crlBytes)

 

// .NET
static func ParseCRL(_ crlBytes: Slice<Byte>) -> (Reference<CertificateList>, error)
// .NET Standard 2.0
static func ParseCRL(_ crlBytes: Slice<Byte>) -> ValueTuple<Reference<CertificateList>, error>
// Island
static func ParseCRL(_ crlBytes: Slice<Byte>) -> (Reference<CertificateList>, error)

 

// .NET
func ParseCRL(crlBytes Slice<Byte>) (Reference<CertificateList>, error)
// .NET Standard 2.0
func ParseCRL(crlBytes Slice<Byte>) ValueTuple<Reference<CertificateList>, error>
// Island
func ParseCRL(crlBytes Slice<Byte>) (Reference<CertificateList>, error)

Parameters:

  • crlBytes:

ParseDERCRL

 

// .NET
class method ParseDERCRL(derBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)
// .NET Standard 2.0
class method ParseDERCRL(derBytes: Slice<Byte>): ValueTuple<Reference<CertificateList>, error>
// Island
class method ParseDERCRL(derBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)

 

// .NET
static (Reference<CertificateList>, error) ParseDERCRL(Slice<Byte> derBytes)
// .NET Standard 2.0
static ValueTuple<Reference<CertificateList>, error> ParseDERCRL(Slice<Byte> derBytes)
// Island
static (Reference<CertificateList>, error) ParseDERCRL(Slice<Byte> derBytes)

 

// .NET
static func ParseDERCRL(_ derBytes: Slice<Byte>) -> (Reference<CertificateList>, error)
// .NET Standard 2.0
static func ParseDERCRL(_ derBytes: Slice<Byte>) -> ValueTuple<Reference<CertificateList>, error>
// Island
static func ParseDERCRL(_ derBytes: Slice<Byte>) -> (Reference<CertificateList>, error)

 

// .NET
func ParseDERCRL(derBytes Slice<Byte>) (Reference<CertificateList>, error)
// .NET Standard 2.0
func ParseDERCRL(derBytes Slice<Byte>) ValueTuple<Reference<CertificateList>, error>
// Island
func ParseDERCRL(derBytes Slice<Byte>) (Reference<CertificateList>, error)

Parameters:

  • derBytes:

ParseECPrivateKey

 

// .NET, Island
class method ParseECPrivateKey(der: Slice<Byte>): tuple of (Reference<PrivateKey>, error)
// .NET Standard 2.0
class method ParseECPrivateKey(der: Slice<Byte>): ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
static (Reference<PrivateKey>, error) ParseECPrivateKey(Slice<Byte> der)
// .NET Standard 2.0
static ValueTuple<Reference<PrivateKey>, error> ParseECPrivateKey(Slice<Byte> der)

 

// .NET, Island
static func ParseECPrivateKey(_ der: Slice<Byte>) -> (Reference<PrivateKey>, error)
// .NET Standard 2.0
static func ParseECPrivateKey(_ der: Slice<Byte>) -> ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
func ParseECPrivateKey(der Slice<Byte>) (Reference<PrivateKey>, error)
// .NET Standard 2.0
func ParseECPrivateKey(der Slice<Byte>) ValueTuple<Reference<PrivateKey>, error>

Parameters:

  • der:

ParsePKCS1PrivateKey

 

// .NET, Island
class method ParsePKCS1PrivateKey(der: Slice<Byte>): tuple of (Reference<PrivateKey>, error)
// .NET Standard 2.0
class method ParsePKCS1PrivateKey(der: Slice<Byte>): ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
static (Reference<PrivateKey>, error) ParsePKCS1PrivateKey(Slice<Byte> der)
// .NET Standard 2.0
static ValueTuple<Reference<PrivateKey>, error> ParsePKCS1PrivateKey(Slice<Byte> der)

 

// .NET, Island
static func ParsePKCS1PrivateKey(_ der: Slice<Byte>) -> (Reference<PrivateKey>, error)
// .NET Standard 2.0
static func ParsePKCS1PrivateKey(_ der: Slice<Byte>) -> ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
func ParsePKCS1PrivateKey(der Slice<Byte>) (Reference<PrivateKey>, error)
// .NET Standard 2.0
func ParsePKCS1PrivateKey(der Slice<Byte>) ValueTuple<Reference<PrivateKey>, error>

Parameters:

  • der:

ParsePKCS1PublicKey

 

// .NET, Island
class method ParsePKCS1PublicKey(der: Slice<Byte>): tuple of (Reference<PublicKey>, error)
// .NET Standard 2.0
class method ParsePKCS1PublicKey(der: Slice<Byte>): ValueTuple<Reference<PublicKey>, error>

 

// .NET, Island
static (Reference<PublicKey>, error) ParsePKCS1PublicKey(Slice<Byte> der)
// .NET Standard 2.0
static ValueTuple<Reference<PublicKey>, error> ParsePKCS1PublicKey(Slice<Byte> der)

 

// .NET, Island
static func ParsePKCS1PublicKey(_ der: Slice<Byte>) -> (Reference<PublicKey>, error)
// .NET Standard 2.0
static func ParsePKCS1PublicKey(_ der: Slice<Byte>) -> ValueTuple<Reference<PublicKey>, error>

 

// .NET, Island
func ParsePKCS1PublicKey(der Slice<Byte>) (Reference<PublicKey>, error)
// .NET Standard 2.0
func ParsePKCS1PublicKey(der Slice<Byte>) ValueTuple<Reference<PublicKey>, error>

Parameters:

  • der:

ParsePKCS8PrivateKey

 

class method ParsePKCS8PrivateKey(der: Slice<Byte>): tuple of (key: Object, err: error)

 

static (Object key, error err) ParsePKCS8PrivateKey(Slice<Byte> der)

 

static func ParsePKCS8PrivateKey(_ der: Slice<Byte>) -> (key:Object, err:error)

 

func ParsePKCS8PrivateKey(der Slice<Byte>) (key interface{}, err error)

Parameters:

  • der:

ParsePKIXPublicKey

 

class method ParsePKIXPublicKey(derBytes: Slice<Byte>): tuple of (pub: Object, err: error)

 

static (Object pub, error err) ParsePKIXPublicKey(Slice<Byte> derBytes)

 

static func ParsePKIXPublicKey(_ derBytes: Slice<Byte>) -> (pub:Object, err:error)

 

func ParsePKIXPublicKey(derBytes Slice<Byte>) (pub interface{}, err error)

Parameters:

  • derBytes:

PEMCipher3DES

 

const PEMCipher3DES: PEMCipher = 2;

 

const PEMCipher PEMCipher3DES = 2

 

static let PEMCipher3DES: PEMCipher = 2

 

const PEMCipher3DES PEMCipher =  = 2

PEMCipherAES128

 

const PEMCipherAES128: PEMCipher = 3;

 

const PEMCipher PEMCipherAES128 = 3

 

static let PEMCipherAES128: PEMCipher = 3

 

const PEMCipherAES128 PEMCipher =  = 3

PEMCipherAES192

 

const PEMCipherAES192: PEMCipher = 4;

 

const PEMCipher PEMCipherAES192 = 4

 

static let PEMCipherAES192: PEMCipher = 4

 

const PEMCipherAES192 PEMCipher =  = 4

PEMCipherAES256

 

const PEMCipherAES256: PEMCipher = 5;

 

const PEMCipher PEMCipherAES256 = 5

 

static let PEMCipherAES256: PEMCipher = 5

 

const PEMCipherAES256 PEMCipher =  = 5

PEMCipherDES

 

const PEMCipherDES: PEMCipher = 1;

 

const PEMCipher PEMCipherDES = 1

 

static let PEMCipherDES: PEMCipher = 1

 

const PEMCipherDES PEMCipher =  = 1

PureEd25519

 

const PureEd25519: SignatureAlgorithm = 16;

 

const SignatureAlgorithm PureEd25519 = 16

 

static let PureEd25519: SignatureAlgorithm = 16

 

const PureEd25519 SignatureAlgorithm =  = 16

RSA

 

const RSA: PublicKeyAlgorithm = 1;

 

const PublicKeyAlgorithm RSA = 1

 

static let RSA: PublicKeyAlgorithm = 1

 

const RSA PublicKeyAlgorithm =  = 1

SHA1WithRSA

 

const SHA1WithRSA: SignatureAlgorithm = 3;

 

const SignatureAlgorithm SHA1WithRSA = 3

 

static let SHA1WithRSA: SignatureAlgorithm = 3

 

const SHA1WithRSA SignatureAlgorithm =  = 3

SHA256WithRSA

 

const SHA256WithRSA: SignatureAlgorithm = 4;

 

const SignatureAlgorithm SHA256WithRSA = 4

 

static let SHA256WithRSA: SignatureAlgorithm = 4

 

const SHA256WithRSA SignatureAlgorithm =  = 4

SHA256WithRSAPSS

 

const SHA256WithRSAPSS: SignatureAlgorithm = 13;

 

const SignatureAlgorithm SHA256WithRSAPSS = 13

 

static let SHA256WithRSAPSS: SignatureAlgorithm = 13

 

const SHA256WithRSAPSS SignatureAlgorithm =  = 13

SHA384WithRSA

 

const SHA384WithRSA: SignatureAlgorithm = 5;

 

const SignatureAlgorithm SHA384WithRSA = 5

 

static let SHA384WithRSA: SignatureAlgorithm = 5

 

const SHA384WithRSA SignatureAlgorithm =  = 5

SHA384WithRSAPSS

 

const SHA384WithRSAPSS: SignatureAlgorithm = 14;

 

const SignatureAlgorithm SHA384WithRSAPSS = 14

 

static let SHA384WithRSAPSS: SignatureAlgorithm = 14

 

const SHA384WithRSAPSS SignatureAlgorithm =  = 14

SHA512WithRSA

 

const SHA512WithRSA: SignatureAlgorithm = 6;

 

const SignatureAlgorithm SHA512WithRSA = 6

 

static let SHA512WithRSA: SignatureAlgorithm = 6

 

const SHA512WithRSA SignatureAlgorithm =  = 6

SHA512WithRSAPSS

 

const SHA512WithRSAPSS: SignatureAlgorithm = 15;

 

const SignatureAlgorithm SHA512WithRSAPSS = 15

 

static let SHA512WithRSAPSS: SignatureAlgorithm = 15

 

const SHA512WithRSAPSS SignatureAlgorithm =  = 15

SystemCertPool

 

// .NET, Island
class method SystemCertPool: tuple of (Reference<CertPool>, error)
// .NET Standard 2.0
class method SystemCertPool: ValueTuple<Reference<CertPool>, error>

 

// .NET, Island
static (Reference<CertPool>, error) SystemCertPool()
// .NET Standard 2.0
static ValueTuple<Reference<CertPool>, error> SystemCertPool()

 

// .NET, Island
static func SystemCertPool() -> (Reference<CertPool>, error)
// .NET Standard 2.0
static func SystemCertPool() -> ValueTuple<Reference<CertPool>, error>

 

// .NET, Island
func SystemCertPool() (Reference<CertPool>, error)
// .NET Standard 2.0
func SystemCertPool() ValueTuple<Reference<CertPool>, error>

TooManyConstraints

 

const TooManyConstraints: InvalidReason = 8;

 

const InvalidReason TooManyConstraints = 8

 

static let TooManyConstraints: InvalidReason = 8

 

const TooManyConstraints InvalidReason =  = 8

TooManyIntermediates

 

const TooManyIntermediates: InvalidReason = 3;

 

const InvalidReason TooManyIntermediates = 3

 

static let TooManyIntermediates: InvalidReason = 3

 

const TooManyIntermediates InvalidReason =  = 3

UnconstrainedName

 

const UnconstrainedName: InvalidReason = 7;

 

const InvalidReason UnconstrainedName = 7

 

static let UnconstrainedName: InvalidReason = 7

 

const UnconstrainedName InvalidReason =  = 7

UnknownPublicKeyAlgorithm

 

const UnknownPublicKeyAlgorithm: PublicKeyAlgorithm = 0;

 

const PublicKeyAlgorithm UnknownPublicKeyAlgorithm = 0

 

static let UnknownPublicKeyAlgorithm: PublicKeyAlgorithm = 0

 

const UnknownPublicKeyAlgorithm PublicKeyAlgorithm =  = 0

UnknownSignatureAlgorithm

 

const UnknownSignatureAlgorithm: SignatureAlgorithm = 0;

 

const SignatureAlgorithm UnknownSignatureAlgorithm = 0

 

static let UnknownSignatureAlgorithm: SignatureAlgorithm = 0

 

const UnknownSignatureAlgorithm SignatureAlgorithm =  = 0

 

CANotAuthorizedForExtKeyUsage

 

const CANotAuthorizedForExtKeyUsage: InvalidReason = 9;

 

const InvalidReason CANotAuthorizedForExtKeyUsage = 9

 

static let CANotAuthorizedForExtKeyUsage: InvalidReason = 9

 

const CANotAuthorizedForExtKeyUsage InvalidReason =  = 9

CANotAuthorizedForThisName

 

const CANotAuthorizedForThisName: InvalidReason = 2;

 

const InvalidReason CANotAuthorizedForThisName = 2

 

static let CANotAuthorizedForThisName: InvalidReason = 2

 

const CANotAuthorizedForThisName InvalidReason =  = 2

DSA

 

const DSA: PublicKeyAlgorithm = 2;

 

const PublicKeyAlgorithm DSA = 2

 

static let DSA: PublicKeyAlgorithm = 2

 

const DSA PublicKeyAlgorithm =  = 2

DSAWithSHA1

 

const DSAWithSHA1: SignatureAlgorithm = 7;

 

const SignatureAlgorithm DSAWithSHA1 = 7

 

static let DSAWithSHA1: SignatureAlgorithm = 7

 

const DSAWithSHA1 SignatureAlgorithm =  = 7

DSAWithSHA256

 

const DSAWithSHA256: SignatureAlgorithm = 8;

 

const SignatureAlgorithm DSAWithSHA256 = 8

 

static let DSAWithSHA256: SignatureAlgorithm = 8

 

const DSAWithSHA256 SignatureAlgorithm =  = 8

ECDSA

 

const ECDSA: PublicKeyAlgorithm = 3;

 

const PublicKeyAlgorithm ECDSA = 3

 

static let ECDSA: PublicKeyAlgorithm = 3

 

const ECDSA PublicKeyAlgorithm =  = 3

ECDSAWithSHA1

 

const ECDSAWithSHA1: SignatureAlgorithm = 9;

 

const SignatureAlgorithm ECDSAWithSHA1 = 9

 

static let ECDSAWithSHA1: SignatureAlgorithm = 9

 

const ECDSAWithSHA1 SignatureAlgorithm =  = 9

ECDSAWithSHA256

 

const ECDSAWithSHA256: SignatureAlgorithm = 10;

 

const SignatureAlgorithm ECDSAWithSHA256 = 10

 

static let ECDSAWithSHA256: SignatureAlgorithm = 10

 

const ECDSAWithSHA256 SignatureAlgorithm =  = 10

ECDSAWithSHA384

 

const ECDSAWithSHA384: SignatureAlgorithm = 11;

 

const SignatureAlgorithm ECDSAWithSHA384 = 11

 

static let ECDSAWithSHA384: SignatureAlgorithm = 11

 

const ECDSAWithSHA384 SignatureAlgorithm =  = 11

ECDSAWithSHA512

 

const ECDSAWithSHA512: SignatureAlgorithm = 12;

 

const SignatureAlgorithm ECDSAWithSHA512 = 12

 

static let ECDSAWithSHA512: SignatureAlgorithm = 12

 

const ECDSAWithSHA512 SignatureAlgorithm =  = 12

Ed25519

 

const Ed25519: PublicKeyAlgorithm = 4;

 

const PublicKeyAlgorithm Ed25519 = 4

 

static let Ed25519: PublicKeyAlgorithm = 4

 

const Ed25519 PublicKeyAlgorithm =  = 4

Expired

 

const Expired: InvalidReason = 1;

 

const InvalidReason Expired = 1

 

static let Expired: InvalidReason = 1

 

const Expired InvalidReason =  = 1

ExtKeyUsageAny

 

const ExtKeyUsageAny: ExtKeyUsage = 0;

 

const ExtKeyUsage ExtKeyUsageAny = 0

 

static let ExtKeyUsageAny: ExtKeyUsage = 0

 

const ExtKeyUsageAny ExtKeyUsage =  = 0

ExtKeyUsageClientAuth

 

const ExtKeyUsageClientAuth: ExtKeyUsage = 2;

 

const ExtKeyUsage ExtKeyUsageClientAuth = 2

 

static let ExtKeyUsageClientAuth: ExtKeyUsage = 2

 

const ExtKeyUsageClientAuth ExtKeyUsage =  = 2

ExtKeyUsageCodeSigning

 

const ExtKeyUsageCodeSigning: ExtKeyUsage = 3;

 

const ExtKeyUsage ExtKeyUsageCodeSigning = 3

 

static let ExtKeyUsageCodeSigning: ExtKeyUsage = 3

 

const ExtKeyUsageCodeSigning ExtKeyUsage =  = 3

ExtKeyUsageEmailProtection

 

const ExtKeyUsageEmailProtection: ExtKeyUsage = 4;

 

const ExtKeyUsage ExtKeyUsageEmailProtection = 4

 

static let ExtKeyUsageEmailProtection: ExtKeyUsage = 4

 

const ExtKeyUsageEmailProtection ExtKeyUsage =  = 4

ExtKeyUsageIPSECEndSystem

 

const ExtKeyUsageIPSECEndSystem: ExtKeyUsage = 5;

 

const ExtKeyUsage ExtKeyUsageIPSECEndSystem = 5

 

static let ExtKeyUsageIPSECEndSystem: ExtKeyUsage = 5

 

const ExtKeyUsageIPSECEndSystem ExtKeyUsage =  = 5

ExtKeyUsageIPSECTunnel

 

const ExtKeyUsageIPSECTunnel: ExtKeyUsage = 6;

 

const ExtKeyUsage ExtKeyUsageIPSECTunnel = 6

 

static let ExtKeyUsageIPSECTunnel: ExtKeyUsage = 6

 

const ExtKeyUsageIPSECTunnel ExtKeyUsage =  = 6

ExtKeyUsageIPSECUser

 

const ExtKeyUsageIPSECUser: ExtKeyUsage = 7;

 

const ExtKeyUsage ExtKeyUsageIPSECUser = 7

 

static let ExtKeyUsageIPSECUser: ExtKeyUsage = 7

 

const ExtKeyUsageIPSECUser ExtKeyUsage =  = 7

ExtKeyUsageMicrosoftCommercialCodeSigning

 

const ExtKeyUsageMicrosoftCommercialCodeSigning: ExtKeyUsage = 12;

 

const ExtKeyUsage ExtKeyUsageMicrosoftCommercialCodeSigning = 12

 

static let ExtKeyUsageMicrosoftCommercialCodeSigning: ExtKeyUsage = 12

 

const ExtKeyUsageMicrosoftCommercialCodeSigning ExtKeyUsage =  = 12

ExtKeyUsageMicrosoftKernelCodeSigning

 

const ExtKeyUsageMicrosoftKernelCodeSigning: ExtKeyUsage = 13;

 

const ExtKeyUsage ExtKeyUsageMicrosoftKernelCodeSigning = 13

 

static let ExtKeyUsageMicrosoftKernelCodeSigning: ExtKeyUsage = 13

 

const ExtKeyUsageMicrosoftKernelCodeSigning ExtKeyUsage =  = 13

ExtKeyUsageMicrosoftServerGatedCrypto

 

const ExtKeyUsageMicrosoftServerGatedCrypto: ExtKeyUsage = 10;

 

const ExtKeyUsage ExtKeyUsageMicrosoftServerGatedCrypto = 10

 

static let ExtKeyUsageMicrosoftServerGatedCrypto: ExtKeyUsage = 10

 

const ExtKeyUsageMicrosoftServerGatedCrypto ExtKeyUsage =  = 10

ExtKeyUsageNetscapeServerGatedCrypto

 

const ExtKeyUsageNetscapeServerGatedCrypto: ExtKeyUsage = 11;

 

const ExtKeyUsage ExtKeyUsageNetscapeServerGatedCrypto = 11

 

static let ExtKeyUsageNetscapeServerGatedCrypto: ExtKeyUsage = 11

 

const ExtKeyUsageNetscapeServerGatedCrypto ExtKeyUsage =  = 11

ExtKeyUsageOCSPSigning

 

const ExtKeyUsageOCSPSigning: ExtKeyUsage = 9;

 

const ExtKeyUsage ExtKeyUsageOCSPSigning = 9

 

static let ExtKeyUsageOCSPSigning: ExtKeyUsage = 9

 

const ExtKeyUsageOCSPSigning ExtKeyUsage =  = 9

ExtKeyUsageServerAuth

 

const ExtKeyUsageServerAuth: ExtKeyUsage = 1;

 

const ExtKeyUsage ExtKeyUsageServerAuth = 1

 

static let ExtKeyUsageServerAuth: ExtKeyUsage = 1

 

const ExtKeyUsageServerAuth ExtKeyUsage =  = 1

ExtKeyUsageTimeStamping

 

const ExtKeyUsageTimeStamping: ExtKeyUsage = 8;

 

const ExtKeyUsage ExtKeyUsageTimeStamping = 8

 

static let ExtKeyUsageTimeStamping: ExtKeyUsage = 8

 

const ExtKeyUsageTimeStamping ExtKeyUsage =  = 8

IncompatibleUsage

 

const IncompatibleUsage: InvalidReason = 4;

 

const InvalidReason IncompatibleUsage = 4

 

static let IncompatibleUsage: InvalidReason = 4

 

const IncompatibleUsage InvalidReason =  = 4

KeyUsageCertSign

 

const KeyUsageCertSign: KeyUsage = 32;

 

const KeyUsage KeyUsageCertSign = 32

 

static let KeyUsageCertSign: KeyUsage = 32

 

const KeyUsageCertSign KeyUsage =  = 32

KeyUsageContentCommitment

 

const KeyUsageContentCommitment: KeyUsage = 2;

 

const KeyUsage KeyUsageContentCommitment = 2

 

static let KeyUsageContentCommitment: KeyUsage = 2

 

const KeyUsageContentCommitment KeyUsage =  = 2

KeyUsageCRLSign

 

const KeyUsageCRLSign: KeyUsage = 64;

 

const KeyUsage KeyUsageCRLSign = 64

 

static let KeyUsageCRLSign: KeyUsage = 64

 

const KeyUsageCRLSign KeyUsage =  = 64

KeyUsageDataEncipherment

 

const KeyUsageDataEncipherment: KeyUsage = 8;

 

const KeyUsage KeyUsageDataEncipherment = 8

 

static let KeyUsageDataEncipherment: KeyUsage = 8

 

const KeyUsageDataEncipherment KeyUsage =  = 8

KeyUsageDecipherOnly

 

const KeyUsageDecipherOnly: KeyUsage = 256;

 

const KeyUsage KeyUsageDecipherOnly = 256

 

static let KeyUsageDecipherOnly: KeyUsage = 256

 

const KeyUsageDecipherOnly KeyUsage =  = 256

KeyUsageDigitalSignature

 

const KeyUsageDigitalSignature: KeyUsage = 1;

 

const KeyUsage KeyUsageDigitalSignature = 1

 

static let KeyUsageDigitalSignature: KeyUsage = 1

 

const KeyUsageDigitalSignature KeyUsage =  = 1

KeyUsageEncipherOnly

 

const KeyUsageEncipherOnly: KeyUsage = 128;

 

const KeyUsage KeyUsageEncipherOnly = 128

 

static let KeyUsageEncipherOnly: KeyUsage = 128

 

const KeyUsageEncipherOnly KeyUsage =  = 128

KeyUsageKeyAgreement

 

const KeyUsageKeyAgreement: KeyUsage = 16;

 

const KeyUsage KeyUsageKeyAgreement = 16

 

static let KeyUsageKeyAgreement: KeyUsage = 16

 

const KeyUsageKeyAgreement KeyUsage =  = 16

KeyUsageKeyEncipherment

 

const KeyUsageKeyEncipherment: KeyUsage = 4;

 

const KeyUsage KeyUsageKeyEncipherment = 4

 

static let KeyUsageKeyEncipherment: KeyUsage = 4

 

const KeyUsageKeyEncipherment KeyUsage =  = 4

MD2WithRSA

 

const MD2WithRSA: SignatureAlgorithm = 1;

 

const SignatureAlgorithm MD2WithRSA = 1

 

static let MD2WithRSA: SignatureAlgorithm = 1

 

const MD2WithRSA SignatureAlgorithm =  = 1

MD5WithRSA

 

const MD5WithRSA: SignatureAlgorithm = 2;

 

const SignatureAlgorithm MD5WithRSA = 2

 

static let MD5WithRSA: SignatureAlgorithm = 2

 

const MD5WithRSA SignatureAlgorithm =  = 2

NameConstraintsWithoutSANs

 

const NameConstraintsWithoutSANs: InvalidReason = 6;

 

const InvalidReason NameConstraintsWithoutSANs = 6

 

static let NameConstraintsWithoutSANs: InvalidReason = 6

 

const NameConstraintsWithoutSANs InvalidReason =  = 6

NameMismatch

 

const NameMismatch: InvalidReason = 5;

 

const InvalidReason NameMismatch = 5

 

static let NameMismatch: InvalidReason = 5

 

const NameMismatch InvalidReason =  = 5

NotAuthorizedToSign

 

const NotAuthorizedToSign: InvalidReason = 0;

 

const InvalidReason NotAuthorizedToSign = 0

 

static let NotAuthorizedToSign: InvalidReason = 0

 

const NotAuthorizedToSign InvalidReason =  = 0

PEMCipher3DES

 

const PEMCipher3DES: PEMCipher = 2;

 

const PEMCipher PEMCipher3DES = 2

 

static let PEMCipher3DES: PEMCipher = 2

 

const PEMCipher3DES PEMCipher =  = 2

PEMCipherAES128

 

const PEMCipherAES128: PEMCipher = 3;

 

const PEMCipher PEMCipherAES128 = 3

 

static let PEMCipherAES128: PEMCipher = 3

 

const PEMCipherAES128 PEMCipher =  = 3

PEMCipherAES192

 

const PEMCipherAES192: PEMCipher = 4;

 

const PEMCipher PEMCipherAES192 = 4

 

static let PEMCipherAES192: PEMCipher = 4

 

const PEMCipherAES192 PEMCipher =  = 4

PEMCipherAES256

 

const PEMCipherAES256: PEMCipher = 5;

 

const PEMCipher PEMCipherAES256 = 5

 

static let PEMCipherAES256: PEMCipher = 5

 

const PEMCipherAES256 PEMCipher =  = 5

PEMCipherDES

 

const PEMCipherDES: PEMCipher = 1;

 

const PEMCipher PEMCipherDES = 1

 

static let PEMCipherDES: PEMCipher = 1

 

const PEMCipherDES PEMCipher =  = 1

PureEd25519

 

const PureEd25519: SignatureAlgorithm = 16;

 

const SignatureAlgorithm PureEd25519 = 16

 

static let PureEd25519: SignatureAlgorithm = 16

 

const PureEd25519 SignatureAlgorithm =  = 16

RSA

 

const RSA: PublicKeyAlgorithm = 1;

 

const PublicKeyAlgorithm RSA = 1

 

static let RSA: PublicKeyAlgorithm = 1

 

const RSA PublicKeyAlgorithm =  = 1

SHA1WithRSA

 

const SHA1WithRSA: SignatureAlgorithm = 3;

 

const SignatureAlgorithm SHA1WithRSA = 3

 

static let SHA1WithRSA: SignatureAlgorithm = 3

 

const SHA1WithRSA SignatureAlgorithm =  = 3

SHA256WithRSA

 

const SHA256WithRSA: SignatureAlgorithm = 4;

 

const SignatureAlgorithm SHA256WithRSA = 4

 

static let SHA256WithRSA: SignatureAlgorithm = 4

 

const SHA256WithRSA SignatureAlgorithm =  = 4

SHA256WithRSAPSS

 

const SHA256WithRSAPSS: SignatureAlgorithm = 13;

 

const SignatureAlgorithm SHA256WithRSAPSS = 13

 

static let SHA256WithRSAPSS: SignatureAlgorithm = 13

 

const SHA256WithRSAPSS SignatureAlgorithm =  = 13

SHA384WithRSA

 

const SHA384WithRSA: SignatureAlgorithm = 5;

 

const SignatureAlgorithm SHA384WithRSA = 5

 

static let SHA384WithRSA: SignatureAlgorithm = 5

 

const SHA384WithRSA SignatureAlgorithm =  = 5

SHA384WithRSAPSS

 

const SHA384WithRSAPSS: SignatureAlgorithm = 14;

 

const SignatureAlgorithm SHA384WithRSAPSS = 14

 

static let SHA384WithRSAPSS: SignatureAlgorithm = 14

 

const SHA384WithRSAPSS SignatureAlgorithm =  = 14

SHA512WithRSA

 

const SHA512WithRSA: SignatureAlgorithm = 6;

 

const SignatureAlgorithm SHA512WithRSA = 6

 

static let SHA512WithRSA: SignatureAlgorithm = 6

 

const SHA512WithRSA SignatureAlgorithm =  = 6

SHA512WithRSAPSS

 

const SHA512WithRSAPSS: SignatureAlgorithm = 15;

 

const SignatureAlgorithm SHA512WithRSAPSS = 15

 

static let SHA512WithRSAPSS: SignatureAlgorithm = 15

 

const SHA512WithRSAPSS SignatureAlgorithm =  = 15

TooManyConstraints

 

const TooManyConstraints: InvalidReason = 8;

 

const InvalidReason TooManyConstraints = 8

 

static let TooManyConstraints: InvalidReason = 8

 

const TooManyConstraints InvalidReason =  = 8

TooManyIntermediates

 

const TooManyIntermediates: InvalidReason = 3;

 

const InvalidReason TooManyIntermediates = 3

 

static let TooManyIntermediates: InvalidReason = 3

 

const TooManyIntermediates InvalidReason =  = 3

UnconstrainedName

 

const UnconstrainedName: InvalidReason = 7;

 

const InvalidReason UnconstrainedName = 7

 

static let UnconstrainedName: InvalidReason = 7

 

const UnconstrainedName InvalidReason =  = 7

UnknownPublicKeyAlgorithm

 

const UnknownPublicKeyAlgorithm: PublicKeyAlgorithm = 0;

 

const PublicKeyAlgorithm UnknownPublicKeyAlgorithm = 0

 

static let UnknownPublicKeyAlgorithm: PublicKeyAlgorithm = 0

 

const UnknownPublicKeyAlgorithm PublicKeyAlgorithm =  = 0

UnknownSignatureAlgorithm

 

const UnknownSignatureAlgorithm: SignatureAlgorithm = 0;

 

const SignatureAlgorithm UnknownSignatureAlgorithm = 0

 

static let UnknownSignatureAlgorithm: SignatureAlgorithm = 0

 

const UnknownSignatureAlgorithm SignatureAlgorithm =  = 0

 

ErrUnsupportedAlgorithm

 

class var ErrUnsupportedAlgorithm: error;

 

static error ErrUnsupportedAlgorithm

 

static var ErrUnsupportedAlgorithm: error

 

ErrUnsupportedAlgorithm error

IncorrectPasswordError

 

class var IncorrectPasswordError: error;

 

static error IncorrectPasswordError

 

static var IncorrectPasswordError: error

 

IncorrectPasswordError error

 

CreateCertificate

 

class method CreateCertificate(rand: Reader; template: Reference<Certificate>; parent: Reference<Certificate>; pub: Object; priv: Object): tuple of (cert: Slice<Byte>, err: error)

 

static (Slice<Byte> cert, error err) CreateCertificate(Reader rand, Reference<Certificate> template, Reference<Certificate> parent, Object pub, Object priv)

 

static func CreateCertificate(_ rand: Reader, _ template: Reference<Certificate>, _ parent: Reference<Certificate>, _ pub: Object, _ priv: Object) -> (cert:Slice<Byte>, err:error)

 

func CreateCertificate(rand Reader, template Reference<Certificate>, parent Reference<Certificate>, pub interface{}, priv interface{}) (cert Slice<Byte>, err error)

Parameters:

  • rand:
  • template:
  • parent:
  • pub:
  • priv:

CreateCertificateRequest

 

class method CreateCertificateRequest(rand: Reader; template: Reference<CertificateRequest>; priv: Object): tuple of (csr: Slice<Byte>, err: error)

 

static (Slice<Byte> csr, error err) CreateCertificateRequest(Reader rand, Reference<CertificateRequest> template, Object priv)

 

static func CreateCertificateRequest(_ rand: Reader, _ template: Reference<CertificateRequest>, _ priv: Object) -> (csr:Slice<Byte>, err:error)

 

func CreateCertificateRequest(rand Reader, template Reference<CertificateRequest>, priv interface{}) (csr Slice<Byte>, err error)

Parameters:

  • rand:
  • template:
  • priv:

DecryptPEMBlock

 

// .NET, Island
class method DecryptPEMBlock(b: Reference<Block>; password: Slice<Byte>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method DecryptPEMBlock(b: Reference<Block>; password: Slice<Byte>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) DecryptPEMBlock(Reference<Block> b, Slice<Byte> password)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> DecryptPEMBlock(Reference<Block> b, Slice<Byte> password)

 

// .NET, Island
static func DecryptPEMBlock(_ b: Reference<Block>, _ password: Slice<Byte>) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func DecryptPEMBlock(_ b: Reference<Block>, _ password: Slice<Byte>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func DecryptPEMBlock(b Reference<Block>, password Slice<Byte>) (Slice<Byte>, error)
// .NET Standard 2.0
func DecryptPEMBlock(b Reference<Block>, password Slice<Byte>) ValueTuple<Slice<Byte>, error>

Parameters:

  • b:
  • password:

EncryptPEMBlock

 

// .NET, Island
class method EncryptPEMBlock(rand: Reader; blockType: string; data: Slice<Byte>; password: Slice<Byte>; alg: PEMCipher): tuple of (Reference<Block>, error)
// .NET Standard 2.0
class method EncryptPEMBlock(rand: Reader; blockType: string; data: Slice<Byte>; password: Slice<Byte>; alg: PEMCipher): ValueTuple<Reference<Block>, error>

 

// .NET, Island
static (Reference<Block>, error) EncryptPEMBlock(Reader rand, string blockType, Slice<Byte> data, Slice<Byte> password, PEMCipher alg)
// .NET Standard 2.0
static ValueTuple<Reference<Block>, error> EncryptPEMBlock(Reader rand, string blockType, Slice<Byte> data, Slice<Byte> password, PEMCipher alg)

 

// .NET, Island
static func EncryptPEMBlock(_ rand: Reader, _ blockType: string, _ data: Slice<Byte>, _ password: Slice<Byte>, _ alg: PEMCipher) -> (Reference<Block>, error)
// .NET Standard 2.0
static func EncryptPEMBlock(_ rand: Reader, _ blockType: string, _ data: Slice<Byte>, _ password: Slice<Byte>, _ alg: PEMCipher) -> ValueTuple<Reference<Block>, error>

 

// .NET, Island
func EncryptPEMBlock(rand Reader, blockType string, data Slice<Byte>, password Slice<Byte>, alg PEMCipher) (Reference<Block>, error)
// .NET Standard 2.0
func EncryptPEMBlock(rand Reader, blockType string, data Slice<Byte>, password Slice<Byte>, alg PEMCipher) ValueTuple<Reference<Block>, error>

Parameters:

  • rand:
  • blockType:
  • data:
  • password:
  • alg:

IsEncryptedPEMBlock

 

class method IsEncryptedPEMBlock(b: Reference<Block>): bool

 

static bool IsEncryptedPEMBlock(Reference<Block> b)

 

static func IsEncryptedPEMBlock(_ b: Reference<Block>) -> bool

 

func IsEncryptedPEMBlock(b Reference<Block>) bool

Parameters:

  • b:

MarshalECPrivateKey

 

// .NET, Island
class method MarshalECPrivateKey(key: Reference<PrivateKey>): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method MarshalECPrivateKey(key: Reference<PrivateKey>): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) MarshalECPrivateKey(Reference<PrivateKey> key)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> MarshalECPrivateKey(Reference<PrivateKey> key)

 

// .NET, Island
static func MarshalECPrivateKey(_ key: Reference<PrivateKey>) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func MarshalECPrivateKey(_ key: Reference<PrivateKey>) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func MarshalECPrivateKey(key Reference<PrivateKey>) (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalECPrivateKey(key Reference<PrivateKey>) ValueTuple<Slice<Byte>, error>

Parameters:

  • key:

MarshalPKCS1PrivateKey

 

class method MarshalPKCS1PrivateKey(key: Reference<PrivateKey>): Slice<Byte>

 

static Slice<Byte> MarshalPKCS1PrivateKey(Reference<PrivateKey> key)

 

static func MarshalPKCS1PrivateKey(_ key: Reference<PrivateKey>) -> Slice<Byte>

 

func MarshalPKCS1PrivateKey(key Reference<PrivateKey>) Slice<Byte>

Parameters:

  • key:

MarshalPKCS1PublicKey

 

class method MarshalPKCS1PublicKey(key: Reference<PublicKey>): Slice<Byte>

 

static Slice<Byte> MarshalPKCS1PublicKey(Reference<PublicKey> key)

 

static func MarshalPKCS1PublicKey(_ key: Reference<PublicKey>) -> Slice<Byte>

 

func MarshalPKCS1PublicKey(key Reference<PublicKey>) Slice<Byte>

Parameters:

  • key:

MarshalPKCS8PrivateKey

 

// .NET, Island
class method MarshalPKCS8PrivateKey(key: Object): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method MarshalPKCS8PrivateKey(key: Object): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) MarshalPKCS8PrivateKey(Object key)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> MarshalPKCS8PrivateKey(Object key)

 

// .NET, Island
static func MarshalPKCS8PrivateKey(_ key: Object) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func MarshalPKCS8PrivateKey(_ key: Object) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func MarshalPKCS8PrivateKey(key interface{}) (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalPKCS8PrivateKey(key interface{}) ValueTuple<Slice<Byte>, error>

Parameters:

  • key:

MarshalPKIXPublicKey

 

// .NET, Island
class method MarshalPKIXPublicKey(pub: Object): tuple of (Slice<Byte>, error)
// .NET Standard 2.0
class method MarshalPKIXPublicKey(pub: Object): ValueTuple<Slice<Byte>, error>

 

// .NET, Island
static (Slice<Byte>, error) MarshalPKIXPublicKey(Object pub)
// .NET Standard 2.0
static ValueTuple<Slice<Byte>, error> MarshalPKIXPublicKey(Object pub)

 

// .NET, Island
static func MarshalPKIXPublicKey(_ pub: Object) -> (Slice<Byte>, error)
// .NET Standard 2.0
static func MarshalPKIXPublicKey(_ pub: Object) -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func MarshalPKIXPublicKey(pub interface{}) (Slice<Byte>, error)
// .NET Standard 2.0
func MarshalPKIXPublicKey(pub interface{}) ValueTuple<Slice<Byte>, error>

Parameters:

  • pub:

NewCertPool

 

class method NewCertPool: Reference<CertPool>

 

static Reference<CertPool> NewCertPool()

 

static func NewCertPool() -> Reference<CertPool>

 

func NewCertPool() Reference<CertPool>

ParseCertificate

 

// .NET, Island
class method ParseCertificate(asn1Data: Slice<Byte>): tuple of (Reference<Certificate>, error)
// .NET Standard 2.0
class method ParseCertificate(asn1Data: Slice<Byte>): ValueTuple<Reference<Certificate>, error>

 

// .NET, Island
static (Reference<Certificate>, error) ParseCertificate(Slice<Byte> asn1Data)
// .NET Standard 2.0
static ValueTuple<Reference<Certificate>, error> ParseCertificate(Slice<Byte> asn1Data)

 

// .NET, Island
static func ParseCertificate(_ asn1Data: Slice<Byte>) -> (Reference<Certificate>, error)
// .NET Standard 2.0
static func ParseCertificate(_ asn1Data: Slice<Byte>) -> ValueTuple<Reference<Certificate>, error>

 

// .NET, Island
func ParseCertificate(asn1Data Slice<Byte>) (Reference<Certificate>, error)
// .NET Standard 2.0
func ParseCertificate(asn1Data Slice<Byte>) ValueTuple<Reference<Certificate>, error>

Parameters:

  • asn1Data:

ParseCertificateRequest

 

// .NET, Island
class method ParseCertificateRequest(asn1Data: Slice<Byte>): tuple of (Reference<CertificateRequest>, error)
// .NET Standard 2.0
class method ParseCertificateRequest(asn1Data: Slice<Byte>): ValueTuple<Reference<CertificateRequest>, error>

 

// .NET, Island
static (Reference<CertificateRequest>, error) ParseCertificateRequest(Slice<Byte> asn1Data)
// .NET Standard 2.0
static ValueTuple<Reference<CertificateRequest>, error> ParseCertificateRequest(Slice<Byte> asn1Data)

 

// .NET, Island
static func ParseCertificateRequest(_ asn1Data: Slice<Byte>) -> (Reference<CertificateRequest>, error)
// .NET Standard 2.0
static func ParseCertificateRequest(_ asn1Data: Slice<Byte>) -> ValueTuple<Reference<CertificateRequest>, error>

 

// .NET, Island
func ParseCertificateRequest(asn1Data Slice<Byte>) (Reference<CertificateRequest>, error)
// .NET Standard 2.0
func ParseCertificateRequest(asn1Data Slice<Byte>) ValueTuple<Reference<CertificateRequest>, error>

Parameters:

  • asn1Data:

ParseCertificates

 

// .NET, Island
class method ParseCertificates(asn1Data: Slice<Byte>): tuple of (Slice<Reference<Certificate>>, error)
// .NET Standard 2.0
class method ParseCertificates(asn1Data: Slice<Byte>): ValueTuple<Slice<Reference<Certificate>>, error>

 

// .NET, Island
static (Slice<Reference<Certificate>>, error) ParseCertificates(Slice<Byte> asn1Data)
// .NET Standard 2.0
static ValueTuple<Slice<Reference<Certificate>>, error> ParseCertificates(Slice<Byte> asn1Data)

 

// .NET, Island
static func ParseCertificates(_ asn1Data: Slice<Byte>) -> (Slice<Reference<Certificate>>, error)
// .NET Standard 2.0
static func ParseCertificates(_ asn1Data: Slice<Byte>) -> ValueTuple<Slice<Reference<Certificate>>, error>

 

// .NET, Island
func ParseCertificates(asn1Data Slice<Byte>) (Slice<Reference<Certificate>>, error)
// .NET Standard 2.0
func ParseCertificates(asn1Data Slice<Byte>) ValueTuple<Slice<Reference<Certificate>>, error>

Parameters:

  • asn1Data:

ParseCRL

 

// .NET
class method ParseCRL(crlBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)
// .NET Standard 2.0
class method ParseCRL(crlBytes: Slice<Byte>): ValueTuple<Reference<CertificateList>, error>
// Island
class method ParseCRL(crlBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)

 

// .NET
static (Reference<CertificateList>, error) ParseCRL(Slice<Byte> crlBytes)
// .NET Standard 2.0
static ValueTuple<Reference<CertificateList>, error> ParseCRL(Slice<Byte> crlBytes)
// Island
static (Reference<CertificateList>, error) ParseCRL(Slice<Byte> crlBytes)

 

// .NET
static func ParseCRL(_ crlBytes: Slice<Byte>) -> (Reference<CertificateList>, error)
// .NET Standard 2.0
static func ParseCRL(_ crlBytes: Slice<Byte>) -> ValueTuple<Reference<CertificateList>, error>
// Island
static func ParseCRL(_ crlBytes: Slice<Byte>) -> (Reference<CertificateList>, error)

 

// .NET
func ParseCRL(crlBytes Slice<Byte>) (Reference<CertificateList>, error)
// .NET Standard 2.0
func ParseCRL(crlBytes Slice<Byte>) ValueTuple<Reference<CertificateList>, error>
// Island
func ParseCRL(crlBytes Slice<Byte>) (Reference<CertificateList>, error)

Parameters:

  • crlBytes:

ParseDERCRL

 

// .NET
class method ParseDERCRL(derBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)
// .NET Standard 2.0
class method ParseDERCRL(derBytes: Slice<Byte>): ValueTuple<Reference<CertificateList>, error>
// Island
class method ParseDERCRL(derBytes: Slice<Byte>): tuple of (Reference<CertificateList>, error)

 

// .NET
static (Reference<CertificateList>, error) ParseDERCRL(Slice<Byte> derBytes)
// .NET Standard 2.0
static ValueTuple<Reference<CertificateList>, error> ParseDERCRL(Slice<Byte> derBytes)
// Island
static (Reference<CertificateList>, error) ParseDERCRL(Slice<Byte> derBytes)

 

// .NET
static func ParseDERCRL(_ derBytes: Slice<Byte>) -> (Reference<CertificateList>, error)
// .NET Standard 2.0
static func ParseDERCRL(_ derBytes: Slice<Byte>) -> ValueTuple<Reference<CertificateList>, error>
// Island
static func ParseDERCRL(_ derBytes: Slice<Byte>) -> (Reference<CertificateList>, error)

 

// .NET
func ParseDERCRL(derBytes Slice<Byte>) (Reference<CertificateList>, error)
// .NET Standard 2.0
func ParseDERCRL(derBytes Slice<Byte>) ValueTuple<Reference<CertificateList>, error>
// Island
func ParseDERCRL(derBytes Slice<Byte>) (Reference<CertificateList>, error)

Parameters:

  • derBytes:

ParseECPrivateKey

 

// .NET, Island
class method ParseECPrivateKey(der: Slice<Byte>): tuple of (Reference<PrivateKey>, error)
// .NET Standard 2.0
class method ParseECPrivateKey(der: Slice<Byte>): ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
static (Reference<PrivateKey>, error) ParseECPrivateKey(Slice<Byte> der)
// .NET Standard 2.0
static ValueTuple<Reference<PrivateKey>, error> ParseECPrivateKey(Slice<Byte> der)

 

// .NET, Island
static func ParseECPrivateKey(_ der: Slice<Byte>) -> (Reference<PrivateKey>, error)
// .NET Standard 2.0
static func ParseECPrivateKey(_ der: Slice<Byte>) -> ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
func ParseECPrivateKey(der Slice<Byte>) (Reference<PrivateKey>, error)
// .NET Standard 2.0
func ParseECPrivateKey(der Slice<Byte>) ValueTuple<Reference<PrivateKey>, error>

Parameters:

  • der:

ParsePKCS1PrivateKey

 

// .NET, Island
class method ParsePKCS1PrivateKey(der: Slice<Byte>): tuple of (Reference<PrivateKey>, error)
// .NET Standard 2.0
class method ParsePKCS1PrivateKey(der: Slice<Byte>): ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
static (Reference<PrivateKey>, error) ParsePKCS1PrivateKey(Slice<Byte> der)
// .NET Standard 2.0
static ValueTuple<Reference<PrivateKey>, error> ParsePKCS1PrivateKey(Slice<Byte> der)

 

// .NET, Island
static func ParsePKCS1PrivateKey(_ der: Slice<Byte>) -> (Reference<PrivateKey>, error)
// .NET Standard 2.0
static func ParsePKCS1PrivateKey(_ der: Slice<Byte>) -> ValueTuple<Reference<PrivateKey>, error>

 

// .NET, Island
func ParsePKCS1PrivateKey(der Slice<Byte>) (Reference<PrivateKey>, error)
// .NET Standard 2.0
func ParsePKCS1PrivateKey(der Slice<Byte>) ValueTuple<Reference<PrivateKey>, error>

Parameters:

  • der:

ParsePKCS1PublicKey

 

// .NET, Island
class method ParsePKCS1PublicKey(der: Slice<Byte>): tuple of (Reference<PublicKey>, error)
// .NET Standard 2.0
class method ParsePKCS1PublicKey(der: Slice<Byte>): ValueTuple<Reference<PublicKey>, error>

 

// .NET, Island
static (Reference<PublicKey>, error) ParsePKCS1PublicKey(Slice<Byte> der)
// .NET Standard 2.0
static ValueTuple<Reference<PublicKey>, error> ParsePKCS1PublicKey(Slice<Byte> der)

 

// .NET, Island
static func ParsePKCS1PublicKey(_ der: Slice<Byte>) -> (Reference<PublicKey>, error)
// .NET Standard 2.0
static func ParsePKCS1PublicKey(_ der: Slice<Byte>) -> ValueTuple<Reference<PublicKey>, error>

 

// .NET, Island
func ParsePKCS1PublicKey(der Slice<Byte>) (Reference<PublicKey>, error)
// .NET Standard 2.0
func ParsePKCS1PublicKey(der Slice<Byte>) ValueTuple<Reference<PublicKey>, error>

Parameters:

  • der:

ParsePKCS8PrivateKey

 

class method ParsePKCS8PrivateKey(der: Slice<Byte>): tuple of (key: Object, err: error)

 

static (Object key, error err) ParsePKCS8PrivateKey(Slice<Byte> der)

 

static func ParsePKCS8PrivateKey(_ der: Slice<Byte>) -> (key:Object, err:error)

 

func ParsePKCS8PrivateKey(der Slice<Byte>) (key interface{}, err error)

Parameters:

  • der:

ParsePKIXPublicKey

 

class method ParsePKIXPublicKey(derBytes: Slice<Byte>): tuple of (pub: Object, err: error)

 

static (Object pub, error err) ParsePKIXPublicKey(Slice<Byte> derBytes)

 

static func ParsePKIXPublicKey(_ derBytes: Slice<Byte>) -> (pub:Object, err:error)

 

func ParsePKIXPublicKey(derBytes Slice<Byte>) (pub interface{}, err error)

Parameters:

  • derBytes:

SystemCertPool

 

// .NET, Island
class method SystemCertPool: tuple of (Reference<CertPool>, error)
// .NET Standard 2.0
class method SystemCertPool: ValueTuple<Reference<CertPool>, error>

 

// .NET, Island
static (Reference<CertPool>, error) SystemCertPool()
// .NET Standard 2.0
static ValueTuple<Reference<CertPool>, error> SystemCertPool()

 

// .NET, Island
static func SystemCertPool() -> (Reference<CertPool>, error)
// .NET Standard 2.0
static func SystemCertPool() -> ValueTuple<Reference<CertPool>, error>

 

// .NET, Island
func SystemCertPool() (Reference<CertPool>, error)
// .NET Standard 2.0
func SystemCertPool() ValueTuple<Reference<CertPool>, error>