EncodeOpaque8() public static method

public static EncodeOpaque8 ( byte buf ) : byte[]
buf byte
return byte[]
 public static byte[] CreateSrpExtension(byte[] identity)
 {
     if (identity == null)
     {
         throw new TlsFatalAlert(80);
     }
     return(TlsUtilities.EncodeOpaque8(identity));
 }
Example #2
0
        public static byte[] CreateSrpExtension(byte[] identity)
        {
            if (identity == null)
            {
                throw new TlsFatalAlert(AlertDescription.internal_error);
            }

            return(TlsUtilities.EncodeOpaque8(identity));
        }
Example #3
0
 protected internal static byte[] CreateRenegotiationInfo(byte[] renegotiated_connection)
 {
     return(TlsUtilities.EncodeOpaque8(renegotiated_connection));
 }