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

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