diff options
author | Tarun Gupta <tarun1995gupta@gmail.com> | 2015-06-02 15:57:26 (GMT) |
---|---|---|
committer | Tarun Gupta <tarun1995gupta@gmail.com> | 2015-06-14 13:25:54 (GMT) |
commit | da6b027a42d980cd918e299b2b0a1e9f7f0c9caa (patch) | |
tree | 5c222d48ade235766c72be909e46ca5366784e16 /src/com/isode/stroke/base | |
parent | d90c2cadb3d1bb2b849a448d3482b504bc4706bb (diff) | |
download | stroke-da6b027a42d980cd918e299b2b0a1e9f7f0c9caa.zip stroke-da6b027a42d980cd918e299b2b0a1e9f7f0c9caa.tar.bz2 |
Add support for Crypto-functions.
Completes the JavaCryptoProvider providing functionalities for SHA-1 Hash, MD5 Hash and HMACSHA1 Hash.
Also updates reference for JavaCryptoProvider in JavaNetworkFactories.
License:
This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Test-Information:
Tests are added for JavaCryptoProvider, which passes.
Change-Id: I2439e5fd76a23e9b5c4e9132a9856543a7ca53fd
Diffstat (limited to 'src/com/isode/stroke/base')
-rw-r--r-- | src/com/isode/stroke/base/SafeByteArray.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/com/isode/stroke/base/SafeByteArray.java b/src/com/isode/stroke/base/SafeByteArray.java index 9f91afb..e35ef35 100644 --- a/src/com/isode/stroke/base/SafeByteArray.java +++ b/src/com/isode/stroke/base/SafeByteArray.java @@ -4,6 +4,12 @@ */ package com.isode.stroke.base; -public class SafeByteArray { +import com.isode.stroke.base.ByteArray; -} +/** +* It's currently not actually secure, +* and that we might consider if http://developer.android.com/reference/java/nio/ByteBuffer.html#allocateDirect(int) could help us in the future. +*/ +public class SafeByteArray extends ByteArray { + +}
\ No newline at end of file |