ref: adding copyright headers and licensing files

Change-Id: I135f73159c3e010f7faf14f1215bbd74eb32c2cb
diff --git a/security/agent/agent_test.go b/security/agent/agent_test.go
index e0186d3..4f9bb96 100644
--- a/security/agent/agent_test.go
+++ b/security/agent/agent_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package agent_test
 
 import (
diff --git a/security/agent/agent_v23_test.go b/security/agent/agent_v23_test.go
index 42539e2..dbd1ac4 100644
--- a/security/agent/agent_v23_test.go
+++ b/security/agent/agent_v23_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package agent_test
 
 import (
diff --git a/security/agent/agentd/main.go b/security/agent/agentd/main.go
index 6e5111a..1be4511 100644
--- a/security/agent/agentd/main.go
+++ b/security/agent/agentd/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package main
 
 import (
diff --git a/security/agent/cache/cache.go b/security/agent/cache/cache.go
index 70e4492..7d0111f 100644
--- a/security/agent/cache/cache.go
+++ b/security/agent/cache/cache.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package cache
 
 import (
diff --git a/security/agent/cache/cache_test.go b/security/agent/cache/cache_test.go
index 517ef1e..852d0ce 100644
--- a/security/agent/cache/cache_test.go
+++ b/security/agent/cache/cache_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package cache
 
 import (
diff --git a/security/agent/client.go b/security/agent/client.go
index f9ce007..419fed2 100644
--- a/security/agent/client.go
+++ b/security/agent/client.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package agent provides a client for communicating with an "Agent"
 // process holding the private key for an identity.
 package agent
diff --git a/security/agent/keymgr/client.go b/security/agent/keymgr/client.go
index aa4b248..bc188d9 100644
--- a/security/agent/keymgr/client.go
+++ b/security/agent/keymgr/client.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package keymgr provides a client for the Device Manager to manage keys in
 // the "Agent" process.
 package keymgr
diff --git a/security/agent/keymgr/keymgr_test.go b/security/agent/keymgr/keymgr_test.go
index ec1dcd9..790dc75 100644
--- a/security/agent/keymgr/keymgr_test.go
+++ b/security/agent/keymgr/keymgr_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package keymgr
 
 import (
diff --git a/security/agent/lru/lru.go b/security/agent/lru/lru.go
index 5dad584..c5379df 100644
--- a/security/agent/lru/lru.go
+++ b/security/agent/lru/lru.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package lru implements a Least-Recently-Used (LRU) cache of objects keyed by a string.
 //
 // A given key can have multiple values associated with it in the cache.
diff --git a/security/agent/lru/lru_test.go b/security/agent/lru/lru_test.go
index 3d9a119..b95ae0b 100644
--- a/security/agent/lru/lru_test.go
+++ b/security/agent/lru/lru_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package lru
 
 import "testing"
diff --git a/security/agent/peer_test.go b/security/agent/peer_test.go
index 2586e1e..3c5ff13 100644
--- a/security/agent/peer_test.go
+++ b/security/agent/peer_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package agent
 
 import (
diff --git a/security/agent/pingpong/main.go b/security/agent/pingpong/main.go
index 3547245..883e4cb 100644
--- a/security/agent/pingpong/main.go
+++ b/security/agent/pingpong/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package main
 
 import (
diff --git a/security/agent/server/server.go b/security/agent/server/server.go
index 0799414..986f995 100644
--- a/security/agent/server/server.go
+++ b/security/agent/server/server.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package server
 
 import (
diff --git a/security/agent/server/sharing.go b/security/agent/server/sharing.go
index 0a6b053..4433d27 100644
--- a/security/agent/server/sharing.go
+++ b/security/agent/server/sharing.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package server
 
 import (
diff --git a/security/agent/server/sharing_test.go b/security/agent/server/sharing_test.go
index a4114c5..0c9f0d9 100644
--- a/security/agent/server/sharing_test.go
+++ b/security/agent/server/sharing_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package server
 
 import (
diff --git a/security/agent/test_principal/main.go b/security/agent/test_principal/main.go
index 2c6bb08..5f1401d 100644
--- a/security/agent/test_principal/main.go
+++ b/security/agent/test_principal/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package main
 
 import (
diff --git a/security/audit/auditor.go b/security/audit/auditor.go
index d90ee09..dbfbba8 100644
--- a/security/audit/auditor.go
+++ b/security/audit/auditor.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package audit provides mechanisms to write method invocations to an audit log.
 //
 // Typical use would be for tracking sensitive operations like private key usage (NewPrincipal),
diff --git a/security/audit/auditor_test.go b/security/audit/auditor_test.go
index 6cec327..848e207 100644
--- a/security/audit/auditor_test.go
+++ b/security/audit/auditor_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package audit_test
 
 import (
diff --git a/security/audit/principal.go b/security/audit/principal.go
index abc88f3..75058b8 100644
--- a/security/audit/principal.go
+++ b/security/audit/principal.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package audit
 
 import (
diff --git a/security/audit/principal_test.go b/security/audit/principal_test.go
index c988fa8..87d6797 100644
--- a/security/audit/principal_test.go
+++ b/security/audit/principal_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package audit_test
 
 import (
diff --git a/security/blessingroots.go b/security/blessingroots.go
index b993982..ed4fc0a 100644
--- a/security/blessingroots.go
+++ b/security/blessingroots.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/blessingroots_test.go b/security/blessingroots_test.go
index d4bb067..412a0f3 100644
--- a/security/blessingroots_test.go
+++ b/security/blessingroots_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/blessingstore.go b/security/blessingstore.go
index 8306959..9d124b1 100644
--- a/security/blessingstore.go
+++ b/security/blessingstore.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 // TODO(ashankar,ataly): This file is a bit of a mess!! Define a serialization
diff --git a/security/blessingstore_test.go b/security/blessingstore_test.go
index a441bf0..cd86c37 100644
--- a/security/blessingstore_test.go
+++ b/security/blessingstore_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/doc.go b/security/doc.go
index 00e7c6a..ea00908 100644
--- a/security/doc.go
+++ b/security/doc.go
@@ -1,2 +1,6 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package security provides utility functions for creating/using vanadium security primitives.
 package security
diff --git a/security/flag/flag.go b/security/flag/flag.go
index 28f94de..52df335 100644
--- a/security/flag/flag.go
+++ b/security/flag/flag.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package flag defines a method for parsing AccessList flags and constructing
 // a security.Authorizer based on them.
 package flag
diff --git a/security/flag/flag_test.go b/security/flag/flag_test.go
index 977bc04..b20a07f 100644
--- a/security/flag/flag_test.go
+++ b/security/flag/flag_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package flag
 
 import (
diff --git a/security/principal.go b/security/principal.go
index 2a420dc..b378b86 100644
--- a/security/principal.go
+++ b/security/principal.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/principal_test.go b/security/principal_test.go
index 54d1721..dc327fb 100644
--- a/security/principal_test.go
+++ b/security/principal_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/serialization/serialization.go b/security/serialization/serialization.go
index 50a52e3..b696ad1 100644
--- a/security/serialization/serialization.go
+++ b/security/serialization/serialization.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package serialization defines a general-purpose io.WriteCloser
 // for writing data along with an appropriate signature that
 // establishes integrity and authenticity of data, and an io.Reader
diff --git a/security/serialization/serialization_test.go b/security/serialization/serialization_test.go
index 4a4b863..d3d2a17 100644
--- a/security/serialization/serialization_test.go
+++ b/security/serialization/serialization_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package serialization_test
 
 import (
diff --git a/security/serialization/signing_writer.go b/security/serialization/signing_writer.go
index 716a99b..c008022 100644
--- a/security/serialization/signing_writer.go
+++ b/security/serialization/signing_writer.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package serialization
 
 import (
diff --git a/security/serialization/verifying_reader.go b/security/serialization/verifying_reader.go
index 4da95c2..857612b 100644
--- a/security/serialization/verifying_reader.go
+++ b/security/serialization/verifying_reader.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package serialization
 
 import (
diff --git a/security/serializer_reader_writer.go b/security/serializer_reader_writer.go
index 6a7c03c..e23d82c 100644
--- a/security/serializer_reader_writer.go
+++ b/security/serializer_reader_writer.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/storage.go b/security/storage.go
index 4a94972..ffa69d5 100644
--- a/security/storage.go
+++ b/security/storage.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/testutil_test.go b/security/testutil_test.go
index 1b07c49..fb7fee0 100644
--- a/security/testutil_test.go
+++ b/security/testutil_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/util.go b/security/util.go
index 48ed167..94f1feb 100644
--- a/security/util.go
+++ b/security/util.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (
diff --git a/security/util_test.go b/security/util_test.go
index c04e384..71ac5ed 100644
--- a/security/util_test.go
+++ b/security/util_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import (