EncodeUint16ArrayWithUint16Length() public static method

public static EncodeUint16ArrayWithUint16Length ( int uints ) : byte[]
uints int
return byte[]
Exemplo n.º 1
0
        public static byte[] CreateSupportedEllipticCurvesExtension(int[] namedCurves)
        {
            if (namedCurves == null || namedCurves.Length < 1)
            {
                throw new TlsFatalAlert(AlertDescription.internal_error);
            }

            return(TlsUtilities.EncodeUint16ArrayWithUint16Length(namedCurves));
        }