Esempio n. 1
0
 public static ExtensionVectorLength.CursorWritingContext StartServerNamesWriting(this MemoryCursor cursor)
 {
     return(VectorPayloadExtension.StartWriting(cursor, ExtensionType.ServerName, 1..ushort.MaxValue));
 }
Esempio n. 2
0
 public static ExtensionVectorLength.CursorWritingContext StartSupportedGroupsWriting(this MemoryCursor cursor)
 {
     return(VectorPayloadExtension.StartWriting(cursor, ExtensionType.SupportedGroups, 2..ushort.MaxValue));
 }
Esempio n. 3
0
 public static ExtensionVectorLength.CursorWritingContext StartSupportedVersionsWriting(this MemoryCursor cursor)
 {
     return(VectorPayloadExtension.StartWriting(cursor, ExtensionType.SupportedVersions, 2..254));
 }
Esempio n. 4
0
 public static bool TryParseServerNames(this MemoryCursor cursor, out MemoryBuffer buffer)
 {
     return(VectorPayloadExtension.TryParse(cursor, ExtensionType.ServerName, 1..ushort.MaxValue, out buffer));
 }
Esempio n. 5
0
 public static ExtensionVectorLength.CursorWritingContext StartPskKeyExchangeModesWriting(this MemoryCursor cursor)
 {
     return(VectorPayloadExtension.StartWriting(cursor, ExtensionType.PskKeyExchangeModes, 1..255));
 }
Esempio n. 6
0
 public static bool TryParseSupportedVersions(this MemoryCursor cursor, out MemoryBuffer buffer)
 {
     return(VectorPayloadExtension.TryParse(cursor, ExtensionType.SupportedVersions, 2..254, out buffer));
 }
Esempio n. 7
0
 public static bool TryParsePskKeyExchangeModes(this MemoryCursor cursor, out MemoryBuffer buffer)
 {
     return(VectorPayloadExtension.TryParse(cursor, ExtensionType.PskKeyExchangeModes, 1..255, out buffer));
 }
Esempio n. 8
0
 public static bool TryParseSupportedGroups(this MemoryCursor cursor, out MemoryBuffer buffer)
 {
     return(VectorPayloadExtension.TryParse(cursor, ExtensionType.SupportedGroups, 2..ushort.MaxValue, out buffer));
 }
Esempio n. 9
0
 public static bool TryParseKeyShares(this MemoryCursor cursor, out MemoryBuffer buffer)
 {
     return(VectorPayloadExtension.TryParse(cursor, ExtensionType.KeyShare, 0..ushort.MaxValue, out buffer));
 }
Esempio n. 10
0
 public static ExtensionVectorLength.CursorWritingContext StartSignatureAlgorithmsWriting(this MemoryCursor cursor)
 {
     return(VectorPayloadExtension.StartWriting(cursor, ExtensionType.SignatureAlgorithms, 0..ushort.MaxValue));
 }
Esempio n. 11
0
 public static bool TryParseSignatureAlgorithms(this MemoryCursor cursor, out MemoryBuffer buffer)
 {
     return(VectorPayloadExtension.TryParse(cursor, ExtensionType.SignatureAlgorithms, 0..ushort.MaxValue, out buffer));
 }