According to JavaDoc, isWeak method of DESKeySpec is checking if the given DES key material is weak or semi-weak.
What is the method checking concretely?
What do weak and semi-weak mean?
I want to do the same check for AES key, but there isn't AESKeySpec class like DESKeySpec.
Are there any ways to implement the check without isWeak method?
Due to the way the DES algorithm works, it is possible for certain keys to give sub keys that reduce the cryptographic strength of the cipher. Some more details are at: http://en.wikipedia.org/wiki/Weak_key#Weak_keys_in_DES.
AES does not have this test as the algorithm is considered to not have weak keys.