Code example for Key

Methods: getEncoded

0
    protected int engineGetKeySize( 
        Key     key)
    { 
        return key.getEncoded().length;
    } 
 
    protected int engineGetOutputSize( 
        int     inputLen)
    { 
        return -1; 
    } 
 
    protected AlgorithmParameters engineGetParameters()
    { 
        return null; 
    } 
 
    protected void engineSetMode( 
        String  mode)
        throws NoSuchAlgorithmException 
    {