Lines Matching defs:mask
6 * This class helps to handle CRL revocation reasons mask. Each CRL handles a
14 * Constructs are reason mask with the reasons.
29 * A reason mask with no reason.
38 * A mask with all revocation reasons.
47 * Adds all reasons from the reasons mask to this mask.
49 * @param mask The reasons mask to add.
51 void addReasons(ReasonsMask mask)
53 _reasons = _reasons | mask.getReasons();
57 * Returns <code>true</code> if this reasons mask contains all possible
60 * @return <code>true</code> if this reasons mask contains all possible
69 * Intersects this mask with the given reasons mask.
71 * @param mask The mask to intersect with.
72 * @return The intersection of this and teh given mask.
74 ReasonsMask intersect(ReasonsMask mask)
77 _mask.addReasons(new ReasonsMask(_reasons & mask.getReasons()));
82 * Returns <code>true</code> if the passed reasons mask has new reasons.
84 * @param mask The reasons mask which should be tested for new reasons.
85 * @return <code>true</code> if the passed reasons mask has new reasons.
87 boolean hasNewReasons(ReasonsMask mask)
89 return ((_reasons | mask.getReasons() ^ _reasons) != 0);
93 * Returns the reasons in this mask.