Uses of Class
com.dstc.security.cms.CMSException

Packages that use CMSException
com.dstc.security.cms This package defines classes and interfaces for IETF RFC 2630 "Cryptographic Message Syntax" (CMS). 
 

Uses of CMSException in com.dstc.security.cms
 

Methods in com.dstc.security.cms that throw CMSException
 void CMSSignature.initVerify(Vector trusted, Vector store)
          Initializes for verification of one or more CMS signed data instances with a Vector of trusted certificates (trust anchors) and, optionally, a supplementary certificate store.
 void CMSSignature.initSign(PrivateKey priv, X509Certificate[] certChain, String digestAlg)
          Initializes for signing of one or more pieces of data with a PrivateKey, its associated certificate chain and a digest algorithm.
 void CMSSignature.setDataToBeSigned(CMSTypedDataInputStream in, boolean encapContent)
          Supplies the data to be signed in the form of a CMSTypedDataInputStream from which it can be read, together with an indication of whether it should be encapsulated in the subsequently generated CMS signed data.
 void CMSSignature.setDataToBeVerified(InputStream in)
          Supplies the CMS signed data for verification as an InputStream from which it can be read.
 void CMSSignature.setDataToBeVerified(InputStream in, InputStream msg)
          Supplies the CMS signed data for verification as an InputStream from which it can be read together with an InputStream for the signed content.
 VerificationResult CMSSignature.verify()
          Verifies the previously supplied CMS signed data and returns a VerificationResult.
 CMSTypedDataInputStream CMSSignature.sign()
          Signs the previously supplied data and returns a CMSTypedDataInputStream from which the CMS signed data can be read.
 void CMSCipher.initEncrypt(SecureRandom rand, X509Certificate[] rcptCerts, String cipherAlg)
          Initializes for encryption of one or more instances of data with a random number generator together with the content encryption algorithm and a list of recipient certificates.
 void CMSCipher.initDecrypt(PrivateKey priv, X509Certificate cert)
          Initializes for decryption of one or more instances of CMS enveloped data with a recipient's private key and associated certificate.
 void CMSCipher.setDataToBeEncrypted(CMSTypedDataInputStream is)
          Supplies the data to be encrypted (turned into CMS enveloped data) in the form of a CMSTypedDataInputStream.
 void CMSCipher.setDataToBeDecrypted(InputStream is)
          Supplies the CMS enveloped data to be decrypted in the form of an InputStream.
 CMSTypedDataInputStream CMSCipher.encrypt()
          Encrypts the previously supplied data and returns a CMSTypedDataInputStream from which the CMS enveloped data can be read.
 DecryptionResult CMSCipher.decrypt()
          Decrypts the previously supplied CMS enveloped data and returns a DecryptionResult instance from which the recovered plaintext data can be read.
 SignedData VerificationResult.getCMSSignedData()
          Returns a SignedData instance for the signed message which can be queried for signer and signing information.