Support getters/setters in BIT STRINGs
Status: Alpha
Brought to you by:
raif
Hello,
For a BIT STRING object like this:
KdcOptions ::= BIT STRING {
reserved(0),
forwardable(1),
forwarded(2),
enc-tkt-in-skey(28),
renew(30),
validate(31)
}
...it would be good to be able to set/clear the flags
with the names in the BIT STRING:
KdcOptions kdcOptions = new KdcOptions();
kdcOptions.setReserved( true );
kdcOptions.setValidate( false );
This would make the code using this structure much
more self-documenting.
Thanks,
Mark