protected void configureEncryptionKeyFromPublicKeyResource ( final String secretKeyToUse ) { val object = extractPublicKeyFromResource ( secretKeyToUse ) ; LOGGER . debug ( "Located encryption key resource [{}]" , secretKeyToUse ) ; setSecretKeyEncryptionKey ( object ) ; setEncryptionAlgorithm ( KeyManagementAlgorithmIdentifiers . RSA_OAEP_256 ) ; }
Configure encryption key from public key resource .