docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Networking.Transport.TLS
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public struct FixedPEMString

    Constructors

    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 = 16383
    Field Value
    Type Description
    int

    Properties

    Length

    Length of the fixed string.

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)