We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
void
The text was updated successfully, but these errors were encountered:
@test public void trustAnchorValidTest1() throws InvalidKeySpecException, NoSuchAlgorithmException {
SecureRandom secureRandom0 = SecureRandom.getInstance("SHA1PRNG"); byte[] genSeed = secureRandom0.generateSeed(0); Assertions.hasEnsuredPredicate(randInt); Assertions.mustBeInAcceptingState(secureRandom0); int keylength = 0; char[] password = null; PBEKeySpec pBEKeySpec0 = new PBEKeySpec(password, genSeed, 19664, keylength); Assertions.hasEnsuredPredicate(pBEKeySpec0); KeyFactory keyFactory0 = KeyFactory.getInstance("RSA"); PrivateKey privateKey = keyFactory0.generatePrivate(pBEKeySpec0); Assertions.hasEnsuredPredicate(keyFactory0); Assertions.mustBeInAcceptingState(keyFactory0); TrustAnchor trustAnchor0 = new TrustAnchor((X500Principal) null, pubKey, (byte[]) null); // pubKey is not generated properly Assertions.hasEnsuredPredicate(trustAnchor0); Assertions.mustBeInAcceptingState(trustAnchor0); pBEKeySpec0.clearPassword(); Assertions.mustBeInAcceptingState(pBEKeySpec0); }
// Missing two more test cases with different constructors
Sorry, something went wrong.
No branches or pull requests
void
classnameThe text was updated successfully, but these errors were encountered: