msl-kancolle


License

License

Categories

Categories

Net
GroupId

GroupId

com.netflix.msl
ArtifactId

ArtifactId

msl-kancolle
Last Version

Last Version

1.2226.0
Release Date

Release Date

Type

Type

jar
Description

Description

msl-kancolle
msl-kancolle
Project URL

Project URL

https://github.com/Netflix/msl
Source Code Management

Source Code Management

https://github.com/Netflix/msl.git

Download msl-kancolle

How to add to project

<!-- https://jarcasting.com/artifacts/com.netflix.msl/msl-kancolle/ -->
<dependency>
    <groupId>com.netflix.msl</groupId>
    <artifactId>msl-kancolle</artifactId>
    <version>1.2226.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.netflix.msl/msl-kancolle/
implementation 'com.netflix.msl:msl-kancolle:1.2226.0'
// https://jarcasting.com/artifacts/com.netflix.msl/msl-kancolle/
implementation ("com.netflix.msl:msl-kancolle:1.2226.0")
'com.netflix.msl:msl-kancolle:jar:1.2226.0'
<dependency org="com.netflix.msl" name="msl-kancolle" rev="1.2226.0">
  <artifact name="msl-kancolle" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.netflix.msl', module='msl-kancolle', version='1.2226.0')
)
libraryDependencies += "com.netflix.msl" % "msl-kancolle" % "1.2226.0"
[com.netflix.msl/msl-kancolle "1.2226.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.netflix.msl : msl-core jar 1.2226.0

Project Modules

There are no modules declared in this project.

Build Status

Message Security Layer

MSL Logo

Message Security Layer (MSL) is an extensible and flexible secure messaging framework that can be used to transport data between two or more communicating entities. Data may also be associated with specific users, and treated as confidential or non-replayable if so desired.

Documentation

The MSL Framework provides a complete description of the framework and its implementation requirements. The Configuration Guide presents some common client and server MSL configurations. The framework documentation and configuration guide were reviewed by an external security firm. No issues were identified.

The set of public interfaces and classes an application must implement and use is documented in the Public Javadoc. Documentation on all of the code, including internal classes and private methods, can be found in the full Javadoc.

For questions and support please contact Wesley Miaw directly. Bugs and feature requests should be filed in the Issue Tracker.

Third-Party Libraries

The Java MSL code base requires the org.json and Bouncy Castle libraries. The unit tests require JUnit 4 and Hamcrest. The integration tests require TestNG.

The JavaScript MSL code base includes some third-party libraries within the lib/ directory, most notably the Clarinet parser and jsrsasign.

The C++ MSL code base requires OpenSSL and includes some third-party libraries within the lib/ directory: Chromium Numerics, RapidJSON, RSA Converter, and UTF-8 with CPP in a Portable Way. The unit tests also include some third-party libraries within the tests lib/ directory: Google Mock and Google Test.

All third-party libraries are subject to their respective license agreements.

Getting Started

To build an application that uses MSL for communication, you must read through and understand the MSL Framework. This is necessary because unlike other security protocols and libraries, you must make choices about how to secure your communication and authenticate your entities and users. The Configuration Guide can help you make those decisions.

The application interface to the MSL stack is MslControl. The application configuration for a single MSL network is an instance of MslContext. Your application may participate in multiple MSL networks and therefore have multiple instances of MslContext but only one MslControl should be used. Message-specific configuration, such as the user or security properties of that message, are specified in individual instances of MessageContext.

Java

IntelliJ IDEA users should import the Java MSL code as a Gradle project.

Eclipse users should use the Gradle IDE (available in the Eclipse Marketplace) and Web Tools Platform (included with the Eclipse IDE for Java EE developers) to import the Java MSL code as a Gradle project.

An example server is provided under examples/simple/src/main/java/server/. The Eclipse Gradle plugin will import this project as a web project that can be deployed onto a Tomcat server. IntelliJ users must manually configure a run configuration to deploy the project artifact into /msl-example-server. The example server is a J2EE servlet that will respond to requests from the example JavaScript client. The example server MSL configuration is specific to this server and should not be used to configure your application, but it can be used as the basis for doing so.

Integration tests are provided under integ-tests/src/main/java/. These tests can be run using the integ-tests Gradle target test. The Eclipse Gradle plugin will import this project as a web project that can be deployed onto a Tomcat server. IntelliJ users must manually configure a run configuration to deploy the project artifact into /msl-test-server.

A command line client and server is provided under examples/mslcli/src/main/java/. The command line client can be configured to work with any MSL server. The command line server is an example MSL server that must be run from the command line. See examples/mslcli/readme.txt for more details.

You may need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files to use cryptographic keys above a certain size.

JavaScript

The JavaScript MSL code base assumes a JavaScript execution environment that supports the latest Web Crypto API specification. If you are using a web browser you may need to enable experimental features or feature flags to enable Web Crypto.

  • Chrome Browser 37+
    For earlier versions: chrome://flags/#enable-experimental-web-platform-features
    On Linux libnss 3.16.2+ must be separately installed.
  • Edge
  • Firefox 34+
    For earlier versions: about:config dom.webcrypto.enabled
  • Internet Explorer 11+
  • Safari 8+

Your browser may not support all Web Crypto API algorithms, key sizes, and features. If you encounter a problem with a Web Crypto operation please check the release notes for your browser version to determine if it supports what you are trying to do.

To include the JavaScript MSL stack in your JavaScript application you must include all of the MSL JavaScript source files required by your MSL configuration. An example list of the required source files can be found in src/test/javascript/msltests.html.

An example client is provided under src/examples/simple/src/main/javascript/client/. The example client is a web page that will send requests to the example Java server. The example client MSL configuration is specific to this client and should not be used to configure your application, but it can be used as the basis for doing so.

C++

The C++ MSL code base requires C++11 and CMake.

The code base has been built and tested under the following environments:

  • Xcode 8 and Homebrew (gcc6, openssl) for Mac OS.
    Compiler flags: -std=c++0x -DGTEST_DONT_DEFINE_FAIL=1 -DRAPIDJSON_HAS_STDSTRING=1.
  • Xcode 8 for iOS.
    Compiler flags: -std=gnu++11 -DGTEST_DONT_DEFINE_FAIL=1 -DRAPIDJSON_HAS_STDSTRING=1.

LICENSE

Copyright 2014 Netflix, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

com.netflix.msl

Netflix, Inc.

Netflix Open Source Platform

Versions

Version
1.2226.0
1.2225.0
1.2224.0
1.1223.0
1.1222.0
1.1221.3
1.1221.2
1.1221.1
1.1221.0
1.1220.2
1.1220.1
1.1220.0
1.1219.0
1.1218.1
1.1218.0
1.1217.0
1.1216.1
1.1216.0
1.1215.0
1.1213.1
1.1213.0
1.1212.0
1.1211.0
1.1210.0
1.1209.0
1.1208.0
1.1207.0
1.1206.0
1.1205.0
1.1204.0
1.1203.1
1.1203.0
1.1202.0
1.1201.0
1.1200.0
1.1199.0
1.1199.0-rc.1
1.1198.0
1.1197.0
1.1196.0
1.1196.0-rc.1
1.1195.0
1.1194.0
1.1194.0-rc.3