public static byte[] CreateSrpExtension(byte[] identity) { if (identity == null) { throw new TlsFatalAlert(80); } return(TlsUtilities.EncodeOpaque8(identity)); }
public static byte[] CreateSrpExtension(byte[] identity) { if (identity == null) { throw new TlsFatalAlert(AlertDescription.internal_error); } return(TlsUtilities.EncodeOpaque8(identity)); }
protected internal static byte[] CreateRenegotiationInfo(byte[] renegotiated_connection) { return(TlsUtilities.EncodeOpaque8(renegotiated_connection)); }