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

Daniel Stieglitz commented on NIFI-14203:
-----------------------------------------

[~exceptionfactory] I do see  that class  java.security.KeyPairGenerator which 
generates the KeyPair has a getProvider() method which returns a 
java.security.Provider and it has a deprecated method getVersion() which 
returns a double and it has a method getVersionStr which returns a string 
although I am not sure its only a number. Do you think perhaps that is the 
version the versioned JcaPGPKeyPair constructor is referring to?

> Replace deprecated bouncycastle features with suggested equivalents
> -------------------------------------------------------------------
>
>                 Key: NIFI-14203
>                 URL: https://issues.apache.org/jira/browse/NIFI-14203
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> When building the code the warnings below indicate there are deprecated 
> bouncycastle features being used. This tickets aims to replace those with 
> their suggested equivalents.
> {code:java}
> [WARNING] 
> nifi-2.2.0/nifi-extension-bundles/nifi-pgp-bundle/nifi-pgp-test-utils/src/main/java/org/apache/nifi/pg
> p/util/PGPOperationUtils.java:[104,57] [deprecation] 
> PGPSignatureGenerator(PGPContentSignerBuilder) in PGPSignatureGenerator has 
> been deprecated
> [WARNING] 
> nifi-2.2.0/nifi-extension-bundles/nifi-pgp-bundle/nifi-pgp-test-utils/src/main/java/org/apache/nifi/pg
> p/util/PGPSecretKeyGenerator.java:[115,15] [deprecation] 
> JcaPGPKeyPair(int,KeyPair,Date) in JcaPGPKeyPair has been deprecated
> [WARNING] 
> nifi-2.2.0/nifi-extension-bundles/nifi-pgp-bundle/nifi-pgp-processors/src/main/java/org/apache/nifi/pr
> ocessors/pgp/SignContentPGP.java:[293,61] [deprecation] 
> PGPSignatureGenerator(PGPContentSignerBuilder) in PGPSignatureGenerator has 
> been deprecated{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to