/**
  * decrypt the content and return an input stream.
  *
  * @deprecated use getContentStream(Recipient)
  */
 public CMSTypedStream getContentStream(Key key, String prov)
     throws CMSException, NoSuchProviderException {
   return getContentStream(key, CMSUtils.getProvider(prov));
 }
 /**
  * verify that the given certificate successfully handles and confirms the signature associated
  * with this signer and, if a signingTime attribute is available, that the certificate was valid
  * at the time the signature was generated.
  *
  * @deprecated use verify(ContentVerifierProvider)
  */
 public boolean verify(X509Certificate cert, String sigProvider)
     throws NoSuchAlgorithmException, NoSuchProviderException, CertificateExpiredException,
         CertificateNotYetValidException, CMSException {
   return verify(cert, CMSUtils.getProvider(sigProvider));
 }
 /**
  * return an AlgorithmParameters object representing the parameters to the key derivation
  * algorithm to the recipient.
  *
  * @return AlgorithmParameters object, null if there aren't any.
  */
 public AlgorithmParameters getKeyDerivationAlgParameters(String provider)
     throws NoSuchProviderException {
   return getKeyDerivationAlgParameters(CMSUtils.getProvider(provider));
 }
 /**
  * verify that the given public key successfully handles and confirms the signature associated
  * with this signer.
  *
  * @deprecated use verify(ContentVerifierProvider)
  */
 public boolean verify(PublicKey key, String sigProvider)
     throws NoSuchAlgorithmException, NoSuchProviderException, CMSException {
   return verify(key, CMSUtils.getProvider(sigProvider));
 }