/** Test the Private Key setting. */ @Test public void testCertificatePrivateKeyMissing() throws ProfileException { Profile profile = profiles.get(3); boolean result = profile.usePrivateKeyEscrow(); assertFalse(result); }
/** * Test the Private Key setting. * * <p><Keys>Store Private Keys</Keys> */ @Test public void testCertificatePrivateKeyValid() throws ProfileException { Profile profile = profiles.get(1); boolean result = profile.usePrivateKeyEscrow(); assertTrue(result); }