/** * Creates a new instance of <tt>PooledStandardPBEBigIntegerEncryptor</tt>. */ public PooledPBEBigIntegerEncryptor() { super(); this.firstEncryptor = new StandardPBEBigIntegerEncryptor(); }
/** * Creates a new instance of <tt>PooledStandardPBEBigIntegerEncryptor</tt>. */ public PooledPBEBigIntegerEncryptor() { super(); this.firstEncryptor = new StandardPBEBigIntegerEncryptor(); }
/** * Creates a new instance of <tt>PooledStandardPBEBigIntegerEncryptor</tt>. */ public PooledPBEBigIntegerEncryptor() { super(); this.firstEncryptor = new StandardPBEBigIntegerEncryptor(); }
/** * Creates a new instance of <tt>HibernatePBEBigIntegerEncryptor</tt> It also * creates a <tt>StandardPBEBigIntegerEncryptor</tt> for internal use, which * can be overriden by calling <tt>setEncryptor(...)</tt>. */ public HibernatePBEBigIntegerEncryptor() { super(); this.encryptor = new StandardPBEBigIntegerEncryptor(); this.encryptorSet = false; }
/** * Creates a new instance of <tt>BasicIntegerNumberEncryptor</tt>. */ public BasicIntegerNumberEncryptor() { super(); this.encryptor = new StandardPBEBigIntegerEncryptor(); this.encryptor.setAlgorithm("PBEWithMD5AndDES"); }
synchronized StandardPBEBigIntegerEncryptor[] cloneAndInitializeEncryptor(final int size) { final StandardPBEByteEncryptor[] byteEncryptorClones = this.byteEncryptor.cloneAndInitializeEncryptor(size); final StandardPBEBigIntegerEncryptor[] clones = new StandardPBEBigIntegerEncryptor[size]; clones[0] = this; for (int i = 1; i < size; i++) { clones[i] = new StandardPBEBigIntegerEncryptor(byteEncryptorClones[i]); } return clones; }
/** * Creates a new instance of <tt>BasicIntegerNumberEncryptor</tt>. */ public BasicIntegerNumberEncryptor() { super(); this.encryptor = new StandardPBEBigIntegerEncryptor(); this.encryptor.setAlgorithm("PBEWithMD5AndDES"); }
synchronized StandardPBEBigIntegerEncryptor[] cloneAndInitializeEncryptor(final int size) { final StandardPBEByteEncryptor[] byteEncryptorClones = this.byteEncryptor.cloneAndInitializeEncryptor(size); final StandardPBEBigIntegerEncryptor[] clones = new StandardPBEBigIntegerEncryptor[size]; clones[0] = this; for (int i = 1; i < size; i++) { clones[i] = new StandardPBEBigIntegerEncryptor(byteEncryptorClones[i]); } return clones; }
/** * Creates a new instance of <tt>StrongIntegerNumberEncryptor</tt>. */ public StrongIntegerNumberEncryptor() { super(); this.encryptor = new StandardPBEBigIntegerEncryptor(); this.encryptor.setAlgorithm("PBEWithMD5AndTripleDES"); }
/** * Creates a new instance of <tt>BasicIntegerNumberEncryptor</tt>. */ public BasicIntegerNumberEncryptor() { super(); this.encryptor = new StandardPBEBigIntegerEncryptor(); this.encryptor.setAlgorithm("PBEWithMD5AndDES"); }
/** * Creates a new instance of <tt>StrongIntegerNumberEncryptor</tt>. */ public StrongIntegerNumberEncryptor() { super(); this.encryptor = new StandardPBEBigIntegerEncryptor(); this.encryptor.setAlgorithm("PBEWithMD5AndTripleDES"); }
synchronized StandardPBEBigIntegerEncryptor[] cloneAndInitializeEncryptor(final int size) { final StandardPBEByteEncryptor[] byteEncryptorClones = this.byteEncryptor.cloneAndInitializeEncryptor(size); final StandardPBEBigIntegerEncryptor[] clones = new StandardPBEBigIntegerEncryptor[size]; clones[0] = this; for (int i = 1; i < size; i++) { clones[i] = new StandardPBEBigIntegerEncryptor(byteEncryptorClones[i]); } return clones; }
/** * Creates a new instance of <tt>StrongIntegerNumberEncryptor</tt>. */ public StrongIntegerNumberEncryptor() { super(); this.encryptor = new StandardPBEBigIntegerEncryptor(); this.encryptor.setAlgorithm("PBEWithMD5AndTripleDES"); }
encryptor = new StandardPBEBigDecimalEncryptor(); } else if (this.encryptorType == ENCRYPTOR_TYPE_BIG_INTEGER) { encryptor = new StandardPBEBigIntegerEncryptor(); } else { throw new IllegalArgumentException("Unknown encryptor type: " + this.encryptorType);
encryptor = new StandardPBEBigDecimalEncryptor(); } else if (this.encryptorType == ENCRYPTOR_TYPE_BIG_INTEGER) { encryptor = new StandardPBEBigIntegerEncryptor(); } else { throw new IllegalArgumentException("Unknown encryptor type: " + this.encryptorType);
encryptor = new StandardPBEBigDecimalEncryptor(); } else if (this.encryptorType == ENCRYPTOR_TYPE_BIG_INTEGER) { encryptor = new StandardPBEBigIntegerEncryptor(); } else { throw new IllegalArgumentException("Unknown encryptor type: " + this.encryptorType);