/**
  * Obtains the value of the {@link #PARAM_TYPE_KEY key parameter}, or <code>null</code> if not
  * set.
  */
 public byte[] getKey() {
   return Arrays.clone((byte[]) parameters.get(Integers.valueOf(PARAM_TYPE_KEY)));
 }
 /**
  * Obtains the value of the {@link #PARAM_TYPE_NONCE nonce parameter}, or <code>null</code> if not
  * set.
  */
 public byte[] getNonce() {
   return Arrays.clone((byte[]) parameters.get(Integers.valueOf(PARAM_TYPE_NONCE)));
 }
 /**
  * Obtains the value of the {@link #PARAM_TYPE_KEY_IDENTIFIER key identifier parameter}, or <code>
  * null</code> if not set.
  */
 public byte[] getKeyIdentifier() {
   return Arrays.clone((byte[]) parameters.get(Integers.valueOf(PARAM_TYPE_KEY_IDENTIFIER)));
 }
 /**
  * Obtains the value of the {@link #PARAM_TYPE_PERSONALISATION personalisation parameter}, or
  * <code>null</code> if not set.
  */
 public byte[] getPersonalisation() {
   return Arrays.clone((byte[]) parameters.get(Integers.valueOf(PARAM_TYPE_PERSONALISATION)));
 }
 /** Returns a copy of the output detached from its containing transaction, if need be. */
 public TransactionOutput duplicateDetached() {
   return new TransactionOutput(
       params, null, Coin.valueOf(value), org.spongycastle.util.Arrays.clone(scriptBytes));
 }
Beispiel #6
0
 public Object clone() {
   return new IntArray(Arrays.clone(m_ints));
 }