File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
prov/src/main/java/org/bouncycastle/jcajce/spec Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1010/**
1111 * SP 800-56C Hybrid Value spec, to allow the secret in a key agreement to be
1212 * created as "Z | T" where T is some other secret value as described in Section 2.
13+ * <p>
14+ * Get methods throw IllegalStateException if destroy() is called.
15+ * </p>
1316 */
1417public class HybridValueParameterSpec
1518 implements AlgorithmParameterSpec , Destroyable
@@ -56,6 +59,12 @@ public AlgorithmParameterSpec getBaseParameterSpec()
5659 return baseSpec ;
5760 }
5861
62+ /**
63+ * Return true if the destroy() method is called and the contents are
64+ * erased.
65+ *
66+ * @return true if destroyed, false otherwise.
67+ */
5968 public boolean isDestroyed ()
6069 {
6170 return this .hasBeenDestroyed .get ();
You can’t perform that action at this time.
0 commit comments