| java.lang.Object sun.security.util.ByteArrayTagOrder
Method Summary | |
final public int | compare(Object obj1, Object obj2) Compare two byte arrays, by the order of their tags,
as defined in ITU-T X.680, sec. |
compare | final public int compare(Object obj1, Object obj2)(Code) | | Compare two byte arrays, by the order of their tags,
as defined in ITU-T X.680, sec. 6.4. (First compare
tag classes, then tag numbers, ignoring the constructivity bit.)
Parameters: obj1 - first byte array to compare. Parameters: obj2 - second byte array to compare. negative number if obj1 < obj2, 0 if obj1 == obj2, positive number if obj1 > obj2. ClassCastException if either argument is not a byte array. |
|
|