Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pkix/src
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2013-12-02 10:30:46 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2013-12-02 10:30:46 +0400
commitaae25eb25a8a33a97491c9ee16d7692a8f57d320 (patch)
tree8fb0ba1d974aa60594a6e0aaeffb1727e84c6cb5 /pkix/src
parent73379da9daa7fc8fd2a61fd7ee83c833ec999b32 (diff)
removed use of clone method
Diffstat (limited to 'pkix/src')
-rw-r--r--pkix/src/main/java/org/bouncycastle/cms/SignerInformation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkix/src/main/java/org/bouncycastle/cms/SignerInformation.java b/pkix/src/main/java/org/bouncycastle/cms/SignerInformation.java
index e2d037e1..7e178d6c 100644
--- a/pkix/src/main/java/org/bouncycastle/cms/SignerInformation.java
+++ b/pkix/src/main/java/org/bouncycastle/cms/SignerInformation.java
@@ -162,7 +162,7 @@ public class SignerInformation
throw new IllegalStateException("method can only be called after verify.");
}
- return (byte[])resultDigest.clone();
+ return Arrays.clone(resultDigest);
}
/**
@@ -222,7 +222,7 @@ public class SignerInformation
*/
public byte[] getSignature()
{
- return (byte[])signature.clone();
+ return Arrays.clone(signature);
}
/**