Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptable(String) - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
- AcmeInvalidMessageException - Exception in org.shredzone.acme4j.smime.exception
-
This exception is thrown when the challenge email message is invalid.
- AcmeInvalidMessageException(String) - Constructor for exception org.shredzone.acme4j.smime.exception.AcmeInvalidMessageException
-
Creates a new
AcmeInvalidMessageException
. - AcmeInvalidMessageException(String, Throwable) - Constructor for exception org.shredzone.acme4j.smime.exception.AcmeInvalidMessageException
-
Creates a new
AcmeInvalidMessageException
. - AcmeInvalidMessageException(String, List<ErrorBundle>) - Constructor for exception org.shredzone.acme4j.smime.exception.AcmeInvalidMessageException
-
Creates a new
AcmeInvalidMessageException
. - addEmail(InternetAddress) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Adds an
InternetAddress
. - addEmails(InternetAddress...) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Adds multiple
InternetAddress
. - addEmails(Collection<InternetAddress>) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Adds multiple
InternetAddress
. - addIdentifier(Identifier) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Adds an email
Identifier
. - addIdentifiers(Collection<Identifier>) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Adds a
Collection
of emailIdentifier
. - addIdentifiers(Identifier...) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Adds multiple email
Identifier
. - addValue(String, String) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets an entry of the subject used for the CSR.
- addValue(ASN1ObjectIdentifier, String) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets an entry of the subject used for the CSR
B
- build(Message) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Builds an
EmailProcessor
for the givenMessage
using the current configuration. - builder() - Static method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Creates a
EmailProcessor.Builder
for building anEmailProcessor
with individual configuration.
C
- caCerts() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Uses the standard cacerts truststore for signature verification.
- certificate(X509Certificate) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Uses the given certificate for signature verification.
- create(Login, JSON) - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00ChallengeProvider
E
- email(InternetAddress) - Static method in class org.shredzone.acme4j.smime.EmailIdentifier
-
Creates a new email identifier for the given address.
- email(String) - Static method in class org.shredzone.acme4j.smime.EmailIdentifier
-
Creates a new email identifier for the given address.
- EmailIdentifier - Class in org.shredzone.acme4j.smime
-
Represents an e-mail identifier.
- EmailProcessor - Class in org.shredzone.acme4j.smime.email
-
A processor for incoming "Challenge" emails.
- EmailProcessor.Builder - Class in org.shredzone.acme4j.smime.email
-
A builder for
EmailProcessor
. - EmailReply00Challenge - Class in org.shredzone.acme4j.smime.challenge
-
Implements the "email-reply-00" challenge.
- EmailReply00Challenge(Login, JSON) - Constructor for class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
Creates a new generic
EmailReply00Challenge
object. - EmailReply00ChallengeProvider - Class in org.shredzone.acme4j.smime.challenge
-
A provider that generates
EmailReply00Challenge
. - EmailReply00ChallengeProvider() - Constructor for class org.shredzone.acme4j.smime.challenge.EmailReply00ChallengeProvider
- ENCRYPTION_ONLY - Enum constant in enum class org.shredzone.acme4j.smime.csr.KeyUsageType
-
S/MIME certificate can be used only for encryption.
- expectedFrom(InternetAddress) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
The expected sender of the "challenge" email.
- expectedIdentifier(Identifier) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
The expected identifier.
- expectedTo(InternetAddress) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
The expected recipient of the "challenge" email.
G
- generateResponse() - Method in class org.shredzone.acme4j.smime.email.ResponseGenerator
-
Generates the response email.
- generateResponse(Session) - Method in class org.shredzone.acme4j.smime.email.ResponseGenerator
-
Generates the response email.
- getAuthorization() - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
This method is not implemented.
- getAuthorization() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns the key-authorization of this challenge.
- getAuthorization(String) - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
Returns the authorization string.
- getCSR() - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Gets the PKCS#10 certification request.
- getEmailAddress() - Method in class org.shredzone.acme4j.smime.EmailIdentifier
-
Returns the email address.
- getEncoded() - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Gets an encoded PKCS#10 certification request.
- getErrors() - Method in exception org.shredzone.acme4j.smime.exception.AcmeInvalidMessageException
-
Returns a list with further error details, if available.
- getExpectedSender() - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
Returns the email address of the expected sender of the "challenge" mail.
- getFrom() - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
Returns the email address in the "from" field of the challenge.
- getKeyUsageBits() - Method in enum class org.shredzone.acme4j.smime.csr.KeyUsageType
-
Returns the key usage bits to be used in the key usage extension of a CSR.
- getMessageId() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns the message-id of the "challenge" email.
- getRecipient() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns the recipient of the "challenge" email.
- getReplyTo() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns all "reply-to" email addresses found in the "challenge" email.
- getSender() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns the sender of the "challenge" email.
- getToken() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns the full token of this challenge.
- getToken(String) - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
Returns the token, which is a concatenation of the part 1 that is sent by email, and part 2 that is passed into this callenge via
getTokenPart2()
; - getToken1() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns the "token 1" found in the subject of the "challenge" email.
- getTokenPart2() - Method in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
Returns the part 2 of the token to be used for this challenge.
K
- KeyUsageType - Enum Class in org.shredzone.acme4j.smime.csr
-
An enumeration of key usage types for S/MIME certificates.
M
- mailSession(Session) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Uses the given mail
Session
for accessing the signed message body.
O
- org.shredzone.acme4j.smime - module org.shredzone.acme4j.smime
-
This module is an add-on that provides S/MIME certificate features.
- org.shredzone.acme4j.smime - package org.shredzone.acme4j.smime
-
An acme4j extension that provides S/MIME certificate features.
- org.shredzone.acme4j.smime.challenge - package org.shredzone.acme4j.smime.challenge
- org.shredzone.acme4j.smime.csr - package org.shredzone.acme4j.smime.csr
-
This package contains S/MIME CSR related utility classes.
- org.shredzone.acme4j.smime.email - package org.shredzone.acme4j.smime.email
-
This package contains classes for processing incoming validation emails, and for generating outgoing response emails.
- org.shredzone.acme4j.smime.exception - package org.shredzone.acme4j.smime.exception
-
Exceptions that are related to S/MIME signatures.
P
- pkixParameters(PKIXParameters) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Uses the given
PKIXParameters
. - plainMessage(Message) - Static method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Processes the given plain e-mail message.
R
- relaxed() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Performs relaxed checks.
- respond() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Returns a
ResponseGenerator
for generating a response email. - RESPONSE_BODY_TYPE - Static variable in interface org.shredzone.acme4j.smime.email.ResponseBodyGenerator
-
The content-type of the response body: "text/plain"
- ResponseBodyGenerator - Interface in org.shredzone.acme4j.smime.email
-
A generator for the response body to be set to the
Message
. - ResponseGenerator - Class in org.shredzone.acme4j.smime.email
-
A helper for creating an email response to the "challenge" email.
- ResponseGenerator(EmailProcessor) - Constructor for class org.shredzone.acme4j.smime.email.ResponseGenerator
-
Creates a new
ResponseGenerator
.
S
- setContent(Message, String) - Method in interface org.shredzone.acme4j.smime.email.ResponseBodyGenerator
-
Sets the content of the
Message
. - setCountry(String) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets the country.
- setKeyUsageType(KeyUsageType) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets the key usage type for S/MIME certificates.
- setLocality(String) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets the city or locality.
- setOrganization(String) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets the organization.
- setOrganizationalUnit(String) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets the organizational unit.
- setState(String) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Sets the state or province.
- sign(KeyPair) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Signs the completed S/MIME CSR.
- signedMessage(Message) - Static method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Processes the given signed e-mail message.
- SIGNING_AND_ENCRYPTION - Enum constant in enum class org.shredzone.acme4j.smime.csr.KeyUsageType
-
S/MIME certificate can be used for both signing and encryption.
- SIGNING_ONLY - Enum constant in enum class org.shredzone.acme4j.smime.csr.KeyUsageType
-
S/MIME certificate can be used only for signing.
- skipVerification() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Skips signature and header verification.
- SMIMECSRBuilder - Class in org.shredzone.acme4j.smime.csr
-
Generator for an S/MIME CSR (Certificate Signing Request) suitable for ACME servers.
- SMIMECSRBuilder() - Constructor for class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
- strict() - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Performs strict checks.
T
- toString() - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
- trustStore(KeyStore) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor.Builder
-
Uses the given truststore for signature verification.
- TYPE - Static variable in class org.shredzone.acme4j.smime.challenge.EmailReply00Challenge
-
Challenge type name: "email-reply-00"
- TYPE_EMAIL - Static variable in class org.shredzone.acme4j.smime.EmailIdentifier
-
Type constant for E-Mail identifiers.
V
- valueOf(String) - Static method in enum class org.shredzone.acme4j.smime.csr.KeyUsageType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.shredzone.acme4j.smime.csr.KeyUsageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withChallenge(Login, URL) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Sets the corresponding
EmailReply00Challenge
that was received from the CA for validation. - withChallenge(EmailReply00Challenge) - Method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Sets the corresponding
EmailReply00Challenge
that was received from the CA for validation. - withFooter(String) - Method in class org.shredzone.acme4j.smime.email.ResponseGenerator
-
Adds a custom footer to the response mail body.
- withGenerator(ResponseBodyGenerator) - Method in class org.shredzone.acme4j.smime.email.ResponseGenerator
-
Sets a
ResponseBodyGenerator
that is used for generating a response body. - withHeader(String) - Method in class org.shredzone.acme4j.smime.email.ResponseGenerator
-
Adds a custom header to the response mail body.
- write(OutputStream) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Writes the signed certificate request to an
OutputStream
. - write(Writer) - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
-
Writes the signed certificate request to a
Writer
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form