Uses of Class
iaik.pkcs.PKCSException

Packages that use PKCSException
com.entrust.toolkit.exceptions Contains exceptions classes for the high-level API of the Toolkit. 
iaik.pkcs   
iaik.pkcs.pkcs12   
iaik.pkcs.pkcs7   
 

Uses of PKCSException in com.entrust.toolkit.exceptions
 

Subclasses of PKCSException in com.entrust.toolkit.exceptions
 interface UnsupportedMessageTypeException
          Signals that the content type of the PKCS#7 message is not supported by the toolkit.
 

Uses of PKCSException in iaik.pkcs
 

Subclasses of PKCSException in iaik.pkcs
 interface PKCSParsingException
          PKCS Parsing Exception.
 

Methods in iaik.pkcs that throw PKCSException
 byte[] NetscapeCertList.toByteArray()
          Returns this NetscapeCertList object as DER encoded byte array.
 byte[] PKCS7CertList.toByteArray()
          Returns this PKCS7CertList object as DER encoded byte array.
 

Uses of PKCSException in iaik.pkcs.pkcs12
 

Methods in iaik.pkcs.pkcs12 that throw PKCSException
 void AuthenticatedSafe.encrypt(char[] password, AlgorithmID algorithm)
          Password-based encrypts the Data containing the sequence of safe bags included in this AuthenticatedSafe, if the PASSWORD_ENCRYPTED mode has been set when creating this AuthenticatedSafe object.
 void AuthenticatedSafe.decrypt(char[] password)
          Uses the given password for decrypting the password-based encryptet contents of this AuthenticatedSafe to recover the safe bags constituting this AuthenticatedSafe object.
static SafeBag SafeBag.create(ObjectID oid)
          Creates a new SafeBag from a given ObjectID.
 void PKCS12.decrypt(char[] password)
          Uses the provided password to decrypt this PKCS12 object for recovering the inherent authenticatedSafes.
 boolean PKCS12.verify(char[] password)
          Verifies the MAC of this PKCS12 object.
 void PKCS12.encrypt(char[] password)
          Uses the provided password to encrypt the content of this PKCS#12 object.
 ASN1Object PKCS12.toASN1Object()
          Returns this PKCS#12 object as ASN1Object.
 

Constructors in iaik.pkcs.pkcs12 that throw PKCSException
AuthenticatedSafe.AuthenticatedSafe(int mode, SafeBag[] safeBags)
          Creates a new AuthenticatedSafe containing the given SafeBags with the desired mode.
PKCS12.PKCS12(KeyBag keyBag, CertificateBag[] certificateBags)
          Creates a new PKCS#12 object from a KeyBag and an array of CertificateBags.
PKCS12.PKCS12(KeyBag keyBag, CertificateBag[] certificateBags, boolean moreSecure)
          Creates a new PKCS#12 object from a KeyBag and an array of CertificateBags.
 

Uses of PKCSException in iaik.pkcs.pkcs7
 

Methods in iaik.pkcs.pkcs7 that throw PKCSException
 SecretKey RecipientInfo.decryptKey(PrivateKey privateKey)
          Uses a RSAPrivateKey to decrypt the encrypted content-encryption key.
 void RecipientInfo.encryptKey(SecretKey key)
          Finishes the creation of a RecipientInfo object by encrypting the given secret key..
 byte[] SignedDataStream.getSignedDigest(int signerInfoIndex)
          Returns the message digest included in the authenticated attributes.
 X509Certificate SignedDataStream.getCertificate(IssuerAndSerialNumber issuer)
          Tries to find the certificate specified by an IssuerAndSerialNumber.
 ASN1Object SignedDataStream.toASN1Object()
          Returns this SignedDataStream as ASN1Object.
protected  ASN1Object SignedDataStream.toASN1Object(int blockSize)
          Returns this SignedData as ASN1Object where a constructed OCTET STRING is used for encoding the content.
 ASN1Object ContentStream.toASN1Object()
          Returns the content value of the implemented PKCS#7 content type as an ASN1Object.
 void SignedAndEnvelopedDataStream.setupCipher(PrivateKey recipientPrivateKey, int recipientInfoIndex)
          Uses the specified private key to setup the Cipher for decrypting the content-encryption key and subsequently using it to decrypt the encrypted content of this SignedAndEnvelopedData object for the requesting recipient, specified by its recipientInfoIndex.
 ASN1Object SignedAndEnvelopedDataStream.toASN1Object()
          Returns this PKCS#7 SignedAndEnvelopedDataStream as ASN1Object.
protected  ASN1Object SignedAndEnvelopedDataStream.toASN1Object(int blockSize)
          Returns this SignedAndEnvelopedDataStream as ASN1Object where a constructed OCTET STRING is used for encoding the content.
static ContentStream ContentInfoStream.create(ObjectID oid)
          Returns a stream-supporting instance of the specified PKCS#7 content type implementation, defined by its ASN.1 ObjectID.
 ASN1Object ContentInfoStream.toASN1Object()
          Returns this PKCS#7 ContentInfoStream as ASN1Object.
 void ContentInfoStream.writeTo(java.io.OutputStream os)
          Writes the DER encoding of this object to the given OutputStream.
 void EnvelopedDataStream.setupCipher(PrivateKey recipientPrivateKey, int recipientInfoIndex)
          Uses the specified private key to setup the Cipher for decrypting the content-encryption key and subsequently using it to decrypt the encrypted content of this EnvelopedDataStream object for the requesting recipient, specified by its recipientInfoIndex.
 void EnvelopedDataStream.setupCipher(Key key)
          Uses the given symmetric key to setup the cipher for decrypting the content.
 ASN1Object EnvelopedDataStream.toASN1Object()
          Returns this EnvelopedDataStream as ASN1Object.
protected  ASN1Object EnvelopedDataStream.toASN1Object(int blockSize)
          Returns this EnvelopedData as ASN1Object.
 ASN1Object EncryptedDataStream.toASN1Object()
          Returns this PKCS#7 EnvelopedDataStream as ASN1Object.
protected  ASN1Object EncryptedDataStream.toASN1Object(int blockSize)
          Returns this PKCS#7 EncryptedDataStream as ASN1Object where a constructed OCTET STRING is used for encoding the encrypted content.
 ASN1Object DataStream.toASN1Object()
          Returns this PKCS#7 Data as ASN1Object.
 void DataStream.writeTo(java.io.OutputStream os)
          Writes this PKCS#7 DataStream object BER encoded to the given output stream.
 ASN1Object DigestedDataStream.toASN1Object()
          Returns this DigestedDataStream as ASN1Object.
protected  ASN1Object DigestedDataStream.toASN1Object(int blockSize)
          Returns this DigestedData as ASN1Object where a constructed OCTET STRING is used for encoding the content.
 boolean DigestedDataStream.verify()
          Verifies the digest.
 void EncryptedContentInfoStream.setupCipher(Key key)
          Uses the specified content-encryption key to setup the cipher for decrypting the content.
 ASN1Object EncryptedContentInfoStream.toASN1Object()
          Returns this EncryptedContentInfoStream as ASN1Object.
 void EncryptedContentInfoStream.writeTo(java.io.OutputStream os)
          Writes the BER encoding of this object to the given OutputStream.
 

Constructors in iaik.pkcs.pkcs7 that throw PKCSException
DigestedDataStream.DigestedDataStream(java.io.InputStream data_is, AlgorithmID digestAlgorithm, int mode)
          Creates a new DigestedDataStream object from given content and and digest algorithm.