[
https://issues.apache.org/jira/browse/HADOOP-10803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056178#comment-14056178
]
Yi Liu commented on HADOOP-10803:
---------------------------------
Another reason to let OpensslCipher#getInstance able to accept same
transformation as {{javax.crypto.Cipher#getInstance}} is:
* If user uses {{OpensslCipher}} directly, he can use same parameter to get
instance, and the transformation parameter may be saved and used in future for
decryption..
> Update OpensslCipher#getInstance to accept CipherSuite#name format.
> -------------------------------------------------------------------
>
> Key: HADOOP-10803
> URL: https://issues.apache.org/jira/browse/HADOOP-10803
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: security
> Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
> Reporter: Yi Liu
> Assignee: Yi Liu
> Fix For: fs-encryption (HADOOP-10150 and HDFS-6134)
>
> Attachments: HADOOP-10803.patch
>
>
> The name format of {{org.apache.hadoop.crypto.CipherSuite}} is the same as
> transformation of {{javax.crypto.Cipher#getInstance}}.
> Let's update the {{OpensslCipher#getInstance}} to accept same format, then we
> can get OpensslCipher instance using CipherSuite.
--
This message was sent by Atlassian JIRA
(v6.2#6252)