示例#1
0
 /**
  * @param initialisationVector
  * @param encryptedPrivateKeys
  */
 public EncryptedPrivateKey(byte[] initialisationVector, byte[] encryptedPrivateKeys) {
   setInitialisationVector(initialisationVector);
   setEncryptedPrivateBytes(encryptedPrivateKeys);
 }
示例#2
0
 /**
  * Cloning constructor.
  *
  * @param encryptedPrivateKey EncryptedPrivateKey to clone.
  */
 public EncryptedPrivateKey(EncryptedPrivateKey encryptedPrivateKey) {
   setInitialisationVector(encryptedPrivateKey.getInitialisationVector());
   setEncryptedPrivateBytes(encryptedPrivateKey.getEncryptedBytes());
 }