Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add license notes #422

Merged
merged 2 commits into from
Mar 31, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/main/java/org/acra/security/AssetKeyStoreFactory.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2016
*
* 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.
*/
package org.acra.security;

import android.content.Context;
Expand All @@ -12,6 +27,9 @@

/**
* KeyStoreFactory for a certificate stored in an asset file
*
* @author F43nd1r
* @since 4.8.3
*/
public class AssetKeyStoreFactory extends BaseKeyStoreFactory {

Expand Down
18 changes: 18 additions & 0 deletions src/main/java/org/acra/security/BaseKeyStoreFactory.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2016
*
* 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.
*/
package org.acra.security;

import android.content.Context;
Expand All @@ -20,6 +35,9 @@

/**
* Provides base KeyStoreFactory implementation
*
* @author F43nd1r
* @since 4.8.3
*/
public abstract class BaseKeyStoreFactory implements KeyStoreFactory {

Expand Down
18 changes: 18 additions & 0 deletions src/main/java/org/acra/security/FileKeyStoreFactory.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2016
*
* 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.
*/
package org.acra.security;

import android.content.Context;
Expand All @@ -13,6 +28,9 @@

/**
* KeyStoreFactory for a certificate stored in a file
*
* @author F43nd1r
* @since 4.8.3
*/
public class FileKeyStoreFactory extends BaseKeyStoreFactory {

Expand Down
18 changes: 18 additions & 0 deletions src/main/java/org/acra/security/KeyStoreFactory.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2016
*
* 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.
*/
package org.acra.security;

import android.content.Context;
Expand All @@ -11,6 +26,9 @@
* The interface can be used to provide a KeyStore with certificates.
* Note that implementations need to be serializable.
* (e.g. can't be anonymous inner classes of non-serializable classes)
*
* @author F43nd1r
* @since 4.8.3
*/
public interface KeyStoreFactory extends Serializable{

Expand Down
18 changes: 18 additions & 0 deletions src/main/java/org/acra/security/ResourceKeyStoreFactory.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright 2016
*
* 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.
*/
package org.acra.security;

import android.content.Context;
Expand All @@ -8,6 +23,9 @@

/**
* KeyStoreFactory for a certificate stored in a raw resource
*
* @author F43nd1r
* @since 4.8.3
*/
public class ResourceKeyStoreFactory extends BaseKeyStoreFactory {

Expand Down