Uses of Class badpenguin.dkim.DkimException
Date: 2009-06-07

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
badpenguin.dkim.DkimException

Packages that use DkimException
badpenguin.dkim |

Uses of DkimException in badpenguin.dkim

Methods in badpenguin.dkim that throw DkimException
`void` | `DkimSignature.checkValidity()`
`java.util.Stack<java.lang.String>` | `Canonicaliser.getDkimHeaders()` If the Canonicaliser was initialised for verification with initVerify(headerStream), then all DKIM signatures will be available in a Stack.
`java.lang.String` | `DkimSignature.getDnsRecord()` Get the DNS record.
`java.util.Stack<java.lang.String>` | `Canonicaliser.getDomKeyHeaders()` If the Canonicaliser was initialised for verification with initVerify(headerStream), then all DomainKey signatures will be available in a Stack.
`java.security.PublicKey` | `NSKey.getKey()` Retrieve the public key from this NSKey object.
`java.lang.String` | `Canonicaliser.getRecommendedHeaders()` Return a colon separated list of headers, which were found in this message, and are recommended for signing by the DKIM RFC.
`void` | `Canonicaliser.initSign(java.io.ByteArrayOutputStream headerStream)` Initialise this canonicaliser for use in signing.
`void` | `Canonicaliser.initVerify(java.io.ByteArrayOutputStream headerStream)` Initialise this Canonicaliser for Verification.
`java.lang.String` | `Canonicaliser.initVerify(java.io.ByteArrayOutputStream headerStream, boolean fallback)` Initialise this Canonicaliser for Verification.
`java.lang.String` | `Canonicaliser.processBody(java.io.ByteArrayOutputStream bodyStream, long length, CanonicalMethod method)` Read the body from the given byte stream and process it with the specified canonicalisation method.
`java.lang.String` | `Canonicaliser.processHeaders(DkimSignature dkimSig)` Process the headers provided during initialisation.
`NSKey[]` | `NSKeyStore.retrieveKeys(java.lang.String lookup)` This method returns a NSKey object for the give domain key record.
`void` | `DkimSignature.setAtag(java.lang.String arg)` Set the (A)lgorithm tag to the specified value (must be either "rsa-sha1" or "rsa-sha256")
`void` | `DkimSignature.setBodyMethod(CanonicalMethod method)` Set the canonicalisation method which should be used for processing the body. Throw a DkimError if we are a DomainKey signature, because you can't specify defferent encodings for header and body when using DomainKey
`void` | `DkimSignature.setHeaderMethod(CanonicalMethod method)` Set the canonicalisation method which should be used for processing the headers. Throw a DkimError if we are a DomainKey signature, because you can't specify defferent encodings for header and body when using DomainKey
`void` | `DkimSignature.setHtag(java.lang.String headers)` Set the (H)eaders tag to the specified value. The headers, should be lowercase, and they should be colon separated.
`void` | `DkimSignature.setMethod(CanonicalMethod method)` Set both the body and header canonicalisation method to the specified value
`java.lang.String` | `Signer.signMail(java.io.InputStream msg)` Generate a DKIM-Signature header for the provided mail message.
`void` | `Signer.signMail(java.io.InputStream msg, java.io.OutputStream out)` Process the incoming email from the InputStream msg and return a DKIM-Signed copy of the email in the OutputStream out.
`void` | `Verifier.verifyMail(java.io.InputStream msg)` Verify the provided email message.
`void` | `Verifier.verifyMail(java.io.InputStream msg, long receivedTime)` This function performs the same actions as verifyMail(msg), however, this one will accept a long representing the messages received time.

Constructors in badpenguin.dkim that throw DkimException
`DkimSignature(java.lang.String sig, boolean leniency)` Create a DkimSignature object from an existing Dkim-Signature.
`DkimSignature(java.lang.String selector, java.lang.String domain)` Construct a DkimSignature with the provided selector and domain tags.
`DkimSignature(java.lang.String selector, java.lang.String domain, java.lang.String headers)` Construct a DkimSignature with the provided selector, domain and header tags.
`Signer(DkimSignature DKIMSig, java.security.PrivateKey key)` Create a Signer object using the specified DkimSignature object, and the PrivateKey.
`Signer(java.lang.String selector, java.lang.String domain, java.lang.String alg, java.security.PrivateKey key)` Creates a Signer object using the specified Domain, Selector and PrivateKey.
`Signer(java.lang.String selector, java.lang.String domain, java.lang.String headers, java.lang.String alg, java.security.PrivateKey key)` Creates a Signer object using the specified Domain, Selector, Algorithm and PrivateKey.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

© Copyright 2009 Mark Boddington (www.badpenguin.co.uk)