Пример #1
0
 /// <exception cref="IOException"></exception>
 public static byte[] CreateCertificateTypeExtensionServer(byte certificateType)
 {
     return(TlsUtilities.EncodeUint8(certificateType));
 }
Пример #2
0
 /// <exception cref="IOException"></exception>
 public static byte[] CreateMaxFragmentLengthExtension(byte maxFragmentLength)
 {
     return(TlsUtilities.EncodeUint8(maxFragmentLength));
 }
Пример #3
0
 public static byte[] CreateNegotiatedDheGroupsServerExtension(byte dheGroup)
 {
     return(TlsUtilities.EncodeUint8(dheGroup));
 }