(EncryptionKey[] first,
EncryptionKey[] next)
| 1129 | } |
| 1130 | |
| 1131 | private static boolean sameKeys(EncryptionKey[] first, |
| 1132 | EncryptionKey[] next) { |
| 1133 | if (first.length != next.length) { |
| 1134 | return false; |
| 1135 | } |
| 1136 | for(int k = 0; k < first.length; ++k) { |
| 1137 | if (!first[k].getKeyName().equals(next[k].getKeyName()) || |
| 1138 | first[k].getKeyVersion() != next[k].getKeyVersion() || |
| 1139 | first[k].getAlgorithm() != next[k].getAlgorithm()) { |
| 1140 | return false; |
| 1141 | } |
| 1142 | } |
| 1143 | return true; |
| 1144 | } |
| 1145 | |
| 1146 | private static boolean sameMasks(DataMaskDescription[] first, |
| 1147 | DataMaskDescription[] next) { |
no test coverage detected