Skip to content
Snippets Groups Projects
Commit 48df6b4a authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

License

parent a1389a83
No related branches found
No related tags found
No related merge requests found
Copyright (c) 2020, xx network SEZC
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
import ( import (
...@@ -11,7 +18,6 @@ import ( ...@@ -11,7 +18,6 @@ import (
"gitlab.com/xx_network/primitives/id" "gitlab.com/xx_network/primitives/id"
) )
// RequestAuthenticatedChannel sends a request to another party to establish an // RequestAuthenticatedChannel sends a request to another party to establish an
// authenticated channel // authenticated channel
// It will not run if the network status is not healthy // It will not run if the network status is not healthy
......
//////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 Privategrity Corporation / // Copyright © 2020 xx network SEZC //
// / // //
// All rights reserved. / // Use of this source code is governed by a license that can be found in the //
//////////////////////////////////////////////////////////////////////////////// // LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
import jww "github.com/spf13/jwalterweatherman" import jww "github.com/spf13/jwalterweatherman"
......
//////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 Privategrity Corporation / // Copyright © 2020 xx network SEZC //
// / // //
// All rights reserved. / // Use of this source code is governed by a license that can be found in the //
//////////////////////////////////////////////////////////////////////////////// // LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api package api
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package auth package auth
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package auth package auth
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package auth package auth
import ( import (
"github.com/pkg/errors" "github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman"
"gitlab.com/elixxir/client/interfaces" "gitlab.com/elixxir/client/interfaces"
"gitlab.com/elixxir/client/interfaces/contact" "gitlab.com/elixxir/client/interfaces/contact"
"gitlab.com/elixxir/client/interfaces/params" "gitlab.com/elixxir/client/interfaces/params"
"gitlab.com/elixxir/client/interfaces/utility" "gitlab.com/elixxir/client/interfaces/utility"
"gitlab.com/elixxir/client/storage" "gitlab.com/elixxir/client/storage"
"gitlab.com/elixxir/client/storage/e2e" "gitlab.com/elixxir/client/storage/e2e"
ds "gitlab.com/elixxir/comms/network/dataStructures"
"gitlab.com/elixxir/crypto/diffieHellman" "gitlab.com/elixxir/crypto/diffieHellman"
cAuth "gitlab.com/elixxir/crypto/e2e/auth"
"gitlab.com/elixxir/primitives/format" "gitlab.com/elixxir/primitives/format"
"gitlab.com/elixxir/primitives/states" "gitlab.com/elixxir/primitives/states"
"io" "io"
cAuth "gitlab.com/elixxir/crypto/e2e/auth"
"time" "time"
ds "gitlab.com/elixxir/comms/network/dataStructures"
jww "github.com/spf13/jwalterweatherman"
) )
func ConfirmRequestAuth(partner contact.Contact, rng io.Reader, func ConfirmRequestAuth(partner contact.Contact, rng io.Reader,
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package auth package auth
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package auth package auth
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package auth package auth
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package auth package auth
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package bindings package bindings
import ( import (
......
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package bindings package bindings
import ( import (
...@@ -24,7 +31,6 @@ type NetworkHealthCallback interface { ...@@ -24,7 +31,6 @@ type NetworkHealthCallback interface {
Callback(bool) Callback(bool)
} }
// RoundEventHandler handles round events happening on the cMix network. // RoundEventHandler handles round events happening on the cMix network.
type RoundEventCallback interface { type RoundEventCallback interface {
EventCallback(rid, state int, timedOut bool) EventCallback(rid, state int, timedOut bool)
......
//////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Copyright © 2019 Privategrity Corporation / // Copyright © 2020 xx network SEZC //
// / // //
// All rights reserved. / // Use of this source code is governed by a license that can be found in the //
//////////////////////////////////////////////////////////////////////////////// // LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package bindings package bindings
...@@ -121,9 +122,6 @@ func LogLevel(level int) error { ...@@ -121,9 +122,6 @@ func LogLevel(level int) error {
return nil return nil
} }
//Unmarshals a marshaled contact object, returns an error if it fails //Unmarshals a marshaled contact object, returns an error if it fails
func UnmarshalContact(b []byte) (*Contact, error) { func UnmarshalContact(b []byte) (*Contact, error) {
c, err := contact.Unmarshal(b) c, err := contact.Unmarshal(b)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment