Struct FixedPEMString
Fixed representation of a string containing a certificate/key in the PEM format, suitable for usage within Burst-compiled code and with native bindings (e.g. with UnityTLS).
Inherited Members
Namespace: Unity.Networking.Transport.TLS
Assembly: Unity.Networking.Transport.dll
Syntax
public struct FixedPEMStringConstructors
FixedPEMString(string)
Construct a FixedPEMString from a managed string.
Declaration
public FixedPEMString(string pem)Parameters
| Type | Name | Description | 
|---|---|---|
| string | pem | String containing the certificate/key in the PEM format. | 
Exceptions
| Type | Condition | 
|---|---|
| ArgumentException | If the string is too large. | 
Fields
MaxLength
Maximum length of the string that can be stored in this type.
Declaration
public const int MaxLength = 16383Field Value
| Type | Description | 
|---|---|
| int | 
Properties
Length
Length of the fixed string.
Declaration
public int Length { get; }Property Value
| Type | Description | 
|---|---|
| int |