Ejemplo n.º 1
0
        public PasswordDataTypeTransform(Net.Vpc.Upa.PasswordStrategy passwordStrategy, object cipherValue, Net.Vpc.Upa.Types.DataType sourceType)
        {
            this.passwordStrategy = passwordStrategy;
            this.cipherValue      = cipherValue;
            this.sourceType       = sourceType;
            int max = passwordStrategy.GetMaxSize();

            this.targetType = new Net.Vpc.Upa.Types.StringType(null, 0, (max <= 0) ? 255 : max, sourceType.IsNullable());
        }
Ejemplo n.º 2
0
 public PasswordQLFunction(Net.Vpc.Upa.PasswordStrategy digest)
 {
     this.strategy = digest;
 }
Ejemplo n.º 3
0
 public virtual void SetCipherStrategy(Net.Vpc.Upa.PasswordStrategy cipherStrategy)
 {
     this.SetObjectCipherStrategy(cipherStrategy);
 }