Code example for PrivateKey

Methods: getAlgorithmgetFormat

0
    } 
 
    @Test 
    public void testLoadPrivateKey() throws Exception { 
        PrivateKey key = keyLoader.loadPrivateKey();
        assertEquals("RSA", key.getAlgorithm());
        assertEquals("PKCS#8", key.getFormat());
    } 
 
    @Override 
    public boolean isUseRouteBuilder() { 
        return false; 
    } 
}