-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
177 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
// Package kmip implements KMIP low-level protocol | ||
// Package kmip implements KMIP protocol | ||
package kmip | ||
|
||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
// KMIP protocol is used to access KMS solutions: generating keys, certificates, | ||
// accessing stored objects, etc. | ||
// | ||
// KMIP is using TTLV-like encoding, which is implemented in this packaged | ||
// as encoding/decoding of Go struct types. Go struct fields are annotated with | ||
// `kmip` tags which specify KMIP tag names. Field is encoded/decoded according | ||
// to its tag, type. | ||
// | ||
// Two high-level objects are implemented: Server and Client. Server listens for | ||
// TLS connections, does initial handshake and processes batch requests from the | ||
// clients. Processing of specific operations is delegated to operation handlers. | ||
// Client objects establishes connection with the KMIP server and allows sending | ||
// any number of requests over the connection. | ||
// | ||
// Not all the KMIP operations have corresponding Go structs, missing ones should | ||
// be added to operations.go, and dynamic type dispatch to | ||
// RequestBatchItem/ResponseBatchItem.BuildFieldValue methods. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters