[ 
https://issues.apache.org/jira/browse/HADOOP-10891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072522#comment-14072522
 ] 

Alejandro Abdelnur commented on HADOOP-10891:
---------------------------------------------

The {{createForDecryption()}} factory method looks OK.

The {{createFromConf()}} method, do we need that there? it seems that is logic 
to retrieve/curate keyprovider 

> Add factory methods to KeyProviderCryptoExtension
> -------------------------------------------------
>
>                 Key: HADOOP-10891
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10891
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: hadoop-10891.001.patch
>
>
> For fs-encryption, we need to create a EncryptedKeyVersion from its component 
> parts for decryption. We also need a way of getting a KPCE from a conf. Both 
> of these can be done with factory methods.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to