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 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
. - 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
C
- 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.
- 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
-
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(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.
- 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.
O
- org.shredzone.acme4j.smime - module org.shredzone.acme4j.smime
- org.shredzone.acme4j.smime - package org.shredzone.acme4j.smime
- org.shredzone.acme4j.smime.challenge - package org.shredzone.acme4j.smime.challenge
- org.shredzone.acme4j.smime.csr - package org.shredzone.acme4j.smime.csr
- org.shredzone.acme4j.smime.email - package org.shredzone.acme4j.smime.email
- org.shredzone.acme4j.smime.exception - package org.shredzone.acme4j.smime.exception
P
- plainMessage(Message) - Static method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Processes the given e-mail message.
R
- 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.
- 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.
- 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
- smimeMessage(Message, Session, X509Certificate, boolean) - Static method in class org.shredzone.acme4j.smime.email.EmailProcessor
-
Performs an S/MIME validation and processes the given e-mail message.
T
- toString() - Method in class org.shredzone.acme4j.smime.csr.SMIMECSRBuilder
- 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