|
|
@ -69,6 +69,8 @@ public class kelondroBase64Order extends kelondroAbstractOrder implements kelond
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final serverLog log;
|
|
|
|
|
|
|
|
|
|
|
|
public static final kelondroBase64Order standardCoder = new kelondroBase64Order(true, true);
|
|
|
|
public static final kelondroBase64Order standardCoder = new kelondroBase64Order(true, true);
|
|
|
|
public static final kelondroBase64Order enhancedCoder = new kelondroBase64Order(true, false);
|
|
|
|
public static final kelondroBase64Order enhancedCoder = new kelondroBase64Order(true, false);
|
|
|
|
|
|
|
|
|
|
|
@ -83,6 +85,8 @@ public class kelondroBase64Order extends kelondroAbstractOrder implements kelond
|
|
|
|
this.asc = up;
|
|
|
|
this.asc = up;
|
|
|
|
alpha = (rfc1113compliant) ? alpha_standard : alpha_enhanced;
|
|
|
|
alpha = (rfc1113compliant) ? alpha_standard : alpha_enhanced;
|
|
|
|
ahpla = (rfc1113compliant) ? ahpla_standard : ahpla_enhanced;
|
|
|
|
ahpla = (rfc1113compliant) ? ahpla_standard : ahpla_enhanced;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.log = new serverLog("BASE64");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Object clone() {
|
|
|
|
public Object clone() {
|
|
|
@ -254,7 +258,9 @@ public class kelondroBase64Order extends kelondroAbstractOrder implements kelond
|
|
|
|
return out;
|
|
|
|
return out;
|
|
|
|
} catch (ArrayIndexOutOfBoundsException e) {
|
|
|
|
} catch (ArrayIndexOutOfBoundsException e) {
|
|
|
|
// maybe the input was not base64
|
|
|
|
// maybe the input was not base64
|
|
|
|
throw new RuntimeException("input probably not base64");
|
|
|
|
// throw new RuntimeException("input probably not base64");
|
|
|
|
|
|
|
|
this.log.logFine("wrong string receive: [" + in + "]");
|
|
|
|
|
|
|
|
return new byte[0];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -356,5 +362,4 @@ public class kelondroBase64Order extends kelondroAbstractOrder implements kelond
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|