W3cubDocs

/Haxe C#

X509Certificate

package cs.system.security.cryptography.x509certificates

implements IDeserializationCallback, ISerializable

@:libType@:csNative@:native("System.Security.Cryptography.X509Certificates.X509Certificate") Available on cs

Constructor

@:final @:overload new (data:NativeArray<UInt8>)

@:final @:overload new (info:SerializationInfo, context:StreamingContext)

@:final @:overload new (fileName:String, password:SecureString, keyStorageFlags:X509KeyStorageFlags)

@:final @:overload new (fileName:String, password:String, keyStorageFlags:X509KeyStorageFlags)

@:final @:overload new (fileName:String, password:SecureString)

@:final @:overload new (fileName:String, password:String)

@:final @:overload new (fileName:String)

@:final @:overload new (rawData:NativeArray<UInt8>, password:SecureString, keyStorageFlags:X509KeyStorageFlags)

@:final @:overload new (rawData:NativeArray<UInt8>, password:String, keyStorageFlags:X509KeyStorageFlags)

@:final @:overload new (rawData:NativeArray<UInt8>, password:SecureString)

@:final @:overload new (rawData:NativeArray<UInt8>, password:String)

@:final @:overload new ()

@:final @:overload new (cert:X509Certificate)

@:final @:overload new (handle:IntPtr)

Variables

read only Handle:IntPtr

read only Issuer:String

read only Subject:String

Methods

@:overload Export (contentType:X509ContentType):NativeArray<UInt8>

@:overload Export (contentType:X509ContentType, password:SecureString):NativeArray<UInt8>

@:overload Export (contentType:X509ContentType, password:String):NativeArray<UInt8>

@:overload GetCertHash ():NativeArray<UInt8>

@:overload GetCertHashString ():String

@:overload GetEffectiveDateString ():String

@:overload GetExpirationDateString ():String

@:overload GetFormat ():String

@:overload GetIssuerName ():String

@:overload GetKeyAlgorithm ():String

@:overload GetKeyAlgorithmParameters ():NativeArray<UInt8>

@:overload GetKeyAlgorithmParametersString ():String

@:overload GetName ():String

@:overload GetPublicKey ():NativeArray<UInt8>

@:overload GetPublicKeyString ():String

@:overload GetRawCertData ():NativeArray<UInt8>

@:overload GetRawCertDataString ():String

@:overload GetSerialNumber ():NativeArray<UInt8>

@:overload GetSerialNumberString ():String

@:overload Import (rawData:NativeArray<UInt8>):Void

@:overload Import (fileName:String, password:SecureString, keyStorageFlags:X509KeyStorageFlags):Void

@:overload Import (fileName:String, password:String, keyStorageFlags:X509KeyStorageFlags):Void

@:overload Import (fileName:String):Void

@:overload Import (rawData:NativeArray<UInt8>, password:SecureString, keyStorageFlags:X509KeyStorageFlags):Void

@:overload Import (rawData:NativeArray<UInt8>, password:String, keyStorageFlags:X509KeyStorageFlags):Void

@:overload Reset ():Void

@:overload ToString ():String

@:overload ToString (fVerbose:Bool):String

Static methods

@:final @:overload static CreateFromCertFile (filename:String):X509Certificate

@:final @:overload static CreateFromSignedFile (filename:String):X509Certificate

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/security/cryptography/x509certificates/X509Certificate.html