A C D E G I K N R S T V W 
All Classes All Packages

A

addHeaderToSign(String) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Adds a header to the set of headers that will be included in the signature, if present.

C

Canonicalization - Enum in net.markenwerk.utils.mail.dkim
Provides "simple" and "relaxed" canonicalization according to RFC 4871.
canonicalizeBody(String) - Method in enum net.markenwerk.utils.mail.dkim.Canonicalization
 
canonicalizeHeader(String, String) - Method in enum net.markenwerk.utils.mail.dkim.Canonicalization
 
check(String, PrivateKey) - Method in class net.markenwerk.utils.mail.dkim.DomainKey
Checks, whether this DomainKey fits to the given identity and RSAPrivateKey.

D

DkimAcceptanceException - Exception in net.markenwerk.utils.mail.dkim
A DkimSigningException that is used to indicate that an attempt to sign a DkimMessage failed, because the DkimSigner configuration is incompatible with the values retrieved from the DNS.
DkimAcceptanceException(String) - Constructor for exception net.markenwerk.utils.mail.dkim.DkimAcceptanceException
Constructs a DkimAcceptanceException with the given message.
DkimAcceptanceException(String, Exception) - Constructor for exception net.markenwerk.utils.mail.dkim.DkimAcceptanceException
Constructs a DkimAcceptanceException with the given message and cause.
DkimException - Exception in net.markenwerk.utils.mail.dkim
A RuntimeException that is used to indicate DKIM specific missbehaviors or to wrap other Exceptions that were thrown during the processing of DKIM specific operations.
DkimException(String) - Constructor for exception net.markenwerk.utils.mail.dkim.DkimException
Constructs a DkimException with the given message.
DkimException(String, Exception) - Constructor for exception net.markenwerk.utils.mail.dkim.DkimException
Constructs a DkimException with the given message and cause.
DkimMessage - Class in net.markenwerk.utils.mail.dkim
Extension of SMTPMessage for the inclusion of a DKIM signature.
DkimMessage(MimeMessage, DkimSigner) - Constructor for class net.markenwerk.utils.mail.dkim.DkimMessage
Created a new DkimMessage from the given MimeMessage and DkimSigner.
DkimSigner - Class in net.markenwerk.utils.mail.dkim
Main class providing a signature according to DKIM RFC 4871.
DkimSigner(String, String, File) - Constructor for class net.markenwerk.utils.mail.dkim.DkimSigner
Created a new DkimSigner for the given signing domain and selector with the given DER encoded RSA private Key.
DkimSigner(String, String, InputStream) - Constructor for class net.markenwerk.utils.mail.dkim.DkimSigner
Created a new DkimSigner for the given signing domain and selector with the given DER encoded RSA private Key.
DkimSigner(String, String, RSAPrivateKey) - Constructor for class net.markenwerk.utils.mail.dkim.DkimSigner
Created a new DkimSigner for the given signing domain and selector with the given RSAPrivateKey.
DkimSigner(String, String, EdDSAPrivateKey) - Constructor for class net.markenwerk.utils.mail.dkim.DkimSigner
Created a new DkimSigner for the given signing domain and selector with the given RSAPrivateKey.
DkimSigningException - Exception in net.markenwerk.utils.mail.dkim
A MessagingException that is used to indicate DKIM specific missbehaviors or to wrap other Exceptions that were thrown during the processing of a DKIM signature, or operations necessary for DKIM signatures.
DkimSigningException(String) - Constructor for exception net.markenwerk.utils.mail.dkim.DkimSigningException
Constructs a DkimSigningException with the given message.
DkimSigningException(String, Exception) - Constructor for exception net.markenwerk.utils.mail.dkim.DkimSigningException
Constructs a DkimSigningException with the given message and cause.
DomainKey - Class in net.markenwerk.utils.mail.dkim
A DomainKey holds the information about a domain key.
DomainKey(Map<Character, String>) - Constructor for class net.markenwerk.utils.mail.dkim.DomainKey
Creates a new DomainKey from the given tags.
DomainKeyUtil - Class in net.markenwerk.utils.mail.dkim
 

E

ED25519 - net.markenwerk.utils.mail.dkim.KeyPairType
 

G

getBodyCanonicalization() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns the configured Canonicalization to be used for the body.
getCacheTtl() - Static method in class net.markenwerk.utils.mail.dkim.DomainKeyUtil
Returns the configured TTL (time to live) for retrieved DomainKey s.
getDefaultSigningAlgorithm() - Method in enum net.markenwerk.utils.mail.dkim.KeyPairType
 
getDkimNotation() - Method in enum net.markenwerk.utils.mail.dkim.KeyPairType
 
getDkimNotation() - Method in enum net.markenwerk.utils.mail.dkim.SigningAlgorithm
 
getDomainKey(String, String) - Static method in class net.markenwerk.utils.mail.dkim.DomainKeyUtil
Retrieves the DomainKey for the given signing domain and selector.
getEncodedBody() - Method in class net.markenwerk.utils.mail.dkim.DkimMessage
Returns the encoded body.
getGranularity() - Method in class net.markenwerk.utils.mail.dkim.DomainKey
Returns a Pattern that matches the granularity of this DomainKey, as described in the 'g' tag.
getHashNotation() - Method in enum net.markenwerk.utils.mail.dkim.SigningAlgorithm
 
getHeaderCanonicalization() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns the configured Canonicalization to be used for the headers.
getIdentity() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns the configured identity parameter.
getJavaNotation() - Method in enum net.markenwerk.utils.mail.dkim.KeyPairType
 
getJavaNotation() - Method in enum net.markenwerk.utils.mail.dkim.SigningAlgorithm
 
getLengthParam() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns the configured length parameter.
getPublicKey() - Method in class net.markenwerk.utils.mail.dkim.DomainKey
Returns the public key of this DomainKey, as provided by the 'p' tag.
getPublicKeyType() - Method in class net.markenwerk.utils.mail.dkim.DomainKey
Returns the type of public key of this DomainKey, as provided by the 'p' tag.
getServiceTypes() - Method in class net.markenwerk.utils.mail.dkim.DomainKey
Returns the set of service types supported by this DomainKey, as described in the 's' tag.
getSigningAlgorithm() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns the configured SigningAlgorithm.
getTags() - Method in class net.markenwerk.utils.mail.dkim.DomainKey
Returns the unmodifiable map of tags, this DomainKey was constructed from.
getTags(String, String) - Static method in class net.markenwerk.utils.mail.dkim.DomainKeyUtil
Retrieves the tags of a domain key for the given signing domain and selector.
getTimestamp() - Method in class net.markenwerk.utils.mail.dkim.DomainKey
Returns the construction time of this DomainKey as a timestamp.
getType() - Method in enum net.markenwerk.utils.mail.dkim.Canonicalization
 
getValue(String, String) - Static method in class net.markenwerk.utils.mail.dkim.DomainKeyUtil
Retrieves the raw domain key for the given signing domain and selector.

I

initialize() - Method in enum net.markenwerk.utils.mail.dkim.KeyPairType
 
isCheckDomainKey() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns whether the domain key should be retrieved and checked.
isCopyHeaderFields() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns the configured z parameter.
isZParam() - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Deprecated.

K

KeyPairType - Enum in net.markenwerk.utils.mail.dkim
 

N

net.markenwerk.utils.mail.dkim - package net.markenwerk.utils.mail.dkim
 

R

RELAXED - net.markenwerk.utils.mail.dkim.Canonicalization
The "relaxed" canonicalization algorithm.
removeHeaderToSign(String) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Removes a header from the set of headers that will be included in the signature, unless it is one of the required headers ('From', 'To', 'Subject').
RSA - net.markenwerk.utils.mail.dkim.KeyPairType
 

S

setAllow8bitMIME(boolean) - Method in class net.markenwerk.utils.mail.dkim.DkimMessage
 
setBodyCanonicalization(Canonicalization) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Sets the Canonicalization to be used for the body.
setCacheTtl(long) - Static method in class net.markenwerk.utils.mail.dkim.DomainKeyUtil
Sets the TTL (time to live) for retrieved DomainKeys.
setCheckDomainKey(boolean) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Sets, whether the domain key should be retrieved and checked.
setCopyHeaderFields(boolean) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Sets the z parameter to be used.
setHeaderCanonicalization(Canonicalization) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Sets the Canonicalization to be used for the headers.
setIdentity(String) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Sets the identity parameter to be used.
setLengthParam(boolean) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Sets the length parameter to be used.
setSigningAlgorithm(SigningAlgorithm) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Sets the SigningAlgorithm to be used.
setZParam(boolean) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Deprecated.
SHA1_WITH_RSA - net.markenwerk.utils.mail.dkim.SigningAlgorithm
The rsa-sha1 signing algorithm.
SHA256_WITH_ED25519 - net.markenwerk.utils.mail.dkim.SigningAlgorithm
The rsa-sha1 signing algorithm.
SHA256_WITH_RSA - net.markenwerk.utils.mail.dkim.SigningAlgorithm
The rsa-sha256 signing algorithm.
sign(DkimMessage) - Method in class net.markenwerk.utils.mail.dkim.DkimSigner
Returns the DKIM signature header line.
SigningAlgorithm - Enum in net.markenwerk.utils.mail.dkim
Allowed signing algorithms by RFC 4871 with translation to different Java notations.
SIMPLE - net.markenwerk.utils.mail.dkim.Canonicalization
The "simple" canonicalization algorithm.
supportsSigningAlgorithm(SigningAlgorithm) - Method in enum net.markenwerk.utils.mail.dkim.KeyPairType
 

T

toString() - Method in class net.markenwerk.utils.mail.dkim.DomainKey
 

V

valueOf(String) - Static method in enum net.markenwerk.utils.mail.dkim.Canonicalization
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.markenwerk.utils.mail.dkim.KeyPairType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.markenwerk.utils.mail.dkim.SigningAlgorithm
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.markenwerk.utils.mail.dkim.Canonicalization
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.markenwerk.utils.mail.dkim.KeyPairType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.markenwerk.utils.mail.dkim.SigningAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeTo(OutputStream, String[]) - Method in class net.markenwerk.utils.mail.dkim.DkimMessage
Output the message as an RFC 822 format stream, without specified headers.
A C D E G I K N R S T V W 
All Classes All Packages