A C D E F G H I K L M O P R S T U V W 

A

acquire(MicrosoftTraits) - Method in class org.dihedron.crypto.providers.mscapi.MicrosoftProvider
Installs a new Microsoft CryptoAPI security provider; the provider may provide access to smart card devices if these have certificate propagation enabled.
acquire(PKCS12Traits) - Method in class org.dihedron.crypto.providers.pkcs12.PKCS12Provider
This is a do-nothing implementation since PKCS#12 key stores are self- contained and need no supporting security provider to be accessed: everything is stored in a file (or in a byte array, for what matters) and can be loaded directly into a KeyStore through the key store's own API.
acquire(T) - Method in class org.dihedron.crypto.providers.ProviderFactory
Creates and installs a security provider of the specific type, using the given traits to perform its configuration.
acquire(SmartCardTraits) - Method in class org.dihedron.crypto.providers.smartcard.SmartCardProviderFactory
Installs a new PKCS#11 security provider supporting the smart card model and make specified in the initialisation traits, which must provide a reference to the smart card reader in which the card is present and to the database entry corresponding to the card's model.
ATR - Class in org.dihedron.crypto.providers.smartcard.discovery
Objects of class ATR represent the unique identifier of the smart card make and model; each smart card has its own byte sequence.
ATR(String) - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.ATR
Constructor.
ATR(byte[]) - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.ATR
Constructor.
ATR(byte[], String) - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.ATR
Constructor.

C

CertificateEncodingException - Exception in org.dihedron.crypto.exceptions
 
CertificateEncodingException() - Constructor for exception org.dihedron.crypto.exceptions.CertificateEncodingException
Constructor.
CertificateEncodingException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateEncodingException
Constructor.
CertificateEncodingException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateEncodingException
Constructor.
CertificateEncodingException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateEncodingException
Constructor.
CertificateException - Exception in org.dihedron.crypto.exceptions
The base class for all exceptions related to certificate validity or availability.
CertificateException() - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
Constructor.
CertificateException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
Constructor.
CertificateException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
Constructor.
CertificateException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateException
Constructor.
CertificateExpiredException - Exception in org.dihedron.crypto.exceptions
 
CertificateExpiredException() - Constructor for exception org.dihedron.crypto.exceptions.CertificateExpiredException
Constructor.
CertificateExpiredException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateExpiredException
Constructor.
CertificateExpiredException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateExpiredException
Constructor.
CertificateExpiredException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateExpiredException
Constructor.
CertificateLoader - Interface in org.dihedron.crypto.certificates
 
CertificateLoaderException - Exception in org.dihedron.crypto.exceptions
 
CertificateLoaderException() - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
 
CertificateLoaderException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
 
CertificateLoaderException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
 
CertificateLoaderException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateLoaderException
 
CertificateLoaderFactory - Class in org.dihedron.crypto.certificates
CertificateLoader factory class; in order to create new instances, it uses the set of properties provided as input; no state is kept between invocations, so the class is fully re-entrant.
CertificateNotYetValidException - Exception in org.dihedron.crypto.exceptions
 
CertificateNotYetValidException() - Constructor for exception org.dihedron.crypto.exceptions.CertificateNotYetValidException
Constructor.
CertificateNotYetValidException(String) - Constructor for exception org.dihedron.crypto.exceptions.CertificateNotYetValidException
Constructor.
CertificateNotYetValidException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateNotYetValidException
Constructor.
CertificateNotYetValidException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CertificateNotYetValidException
Constructor.
CertificateUtils - Class in org.dihedron.crypto.certificates
 
CertificateUtils() - Constructor for class org.dihedron.crypto.certificates.CertificateUtils
 
close() - Method in class org.dihedron.crypto.KeyRing
Attempts to log out of the KeyStore, and releases its reference.
closeImpl() - Method in class org.dihedron.crypto.KeyRing
Logs out of the key store, if supported by the underlying technology.
closeImpl() - Method in class org.dihedron.crypto.providers.mscapi.MicrosoftKeyRing
 
closeImpl() - Method in class org.dihedron.crypto.providers.pkcs12.PKCS12KeyRing
 
closeImpl() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardKeyRing
 
CryptoException - Exception in org.dihedron.crypto.exceptions
The root of the exception hierarchy in the Crypto library.
CryptoException() - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
Default constructor.
CryptoException(String) - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
Constructor.
CryptoException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
Constructor.
CryptoException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.CryptoException
Constructor.
CryptoLibrary - Class in org.dihedron.crypto
 
CryptoService - Class in org.dihedron.crypto
 
CryptoService() - Constructor for class org.dihedron.crypto.CryptoService
Protected constructor, to be used only by inheriting classes.

D

DataBase - Class in org.dihedron.crypto.providers.smartcard.discovery
The database of supported smart cards, along with their supporting PKCS#11 drivers.
DataBaseLoader - Class in org.dihedron.crypto.providers.smartcard.discovery
The class responsible of loading the database of supported smart cards, along with info about their their supporting PKCS#11 drivers.
DataBaseLoader() - Constructor for class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
 
decrypt(byte[]) - Method in class org.dihedron.crypto.operations.decrypt.Decryptor
Encrypts the given byte array, returning the encrypted bytes.
decrypt(byte[]) - Method in class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
 
Decryptor - Class in org.dihedron.crypto.operations.decrypt
Base abstract classes for all classes providing decryption services.
Decryptor() - Constructor for class org.dihedron.crypto.operations.decrypt.Decryptor
 
DEFAULT_SMARTCARDS_XML - Static variable in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
The name of the file containing the default smart cards database.
DigestAlgorithm - Enum in org.dihedron.crypto.constants
An enumeration of supported digest algorithms.
Driver - Class in org.dihedron.crypto.providers.smartcard.discovery
A class representing a shared object or dynamic link library supporting a smart card driver on a given platform.

E

encrypt(byte[]) - Method in class org.dihedron.crypto.operations.encrypt.Encryptor
Encrypts the given byte array, returning the encrypted bytes.
encrypt(byte[], String, String, String, String) - Method in class org.dihedron.crypto.operations.encrypt.EncryptZipFile
 
encrypt(byte[]) - Method in class org.dihedron.crypto.operations.encrypt.pkcs7.Pkcs7Encryptor
 
EncryptionAlgorithm - Enum in org.dihedron.crypto.constants
An enumeration of supported encryption algorithms.
Encryptor - Class in org.dihedron.crypto.operations.encrypt
Base abstract classes for all classes providing encryption services.
Encryptor() - Constructor for class org.dihedron.crypto.operations.encrypt.Encryptor
 
EncryptZipFile - Class in org.dihedron.crypto.operations.encrypt
 
EncryptZipFile() - Constructor for class org.dihedron.crypto.operations.encrypt.EncryptZipFile
 
enumerate() - Static method in class org.dihedron.crypto.providers.smartcard.discovery.Readers
Enumerates all available readers and returns basic information about each of them: their assigned slot, the description and, if a smart card is present, its ATR.
enumerate(Filter<Reader>) - Static method in class org.dihedron.crypto.providers.smartcard.discovery.Readers
Enumerates the available readers, applying a filter to it.
enumerateAliases() - Method in class org.dihedron.crypto.KeyRing
Returns a list of aliases for the given key store.
equals(Object) - Method in class org.dihedron.crypto.providers.smartcard.discovery.ATR
Checks if two ATRs are equal; comparison is performed case-insensitively on the String representation with a blank separator.

F

FileCertificateLoader - Class in org.dihedron.crypto.certificates.impl
 
FileCertificateLoader() - Constructor for class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
fromAlgorithmAsn1Ids(String, String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Factory method, returns the enumeration value corresponding to the two given algorithm descriptions.
fromAlgorithmDescriptions(String, String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Factory method, returns the enumeration value corresponding to the two given algorithm descriptions.
fromAsn1Id(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
Factory method: returns the Digest object corresponding to the given algorithm id (in ASN.1 format).
fromAsn1Id(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Factory method: returns the Encryption object corresponding to the given ASN.1 algorithm code (e.g.
fromBouncyCastleCode(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
Factory method: returns the Digest object corresponding to the given BouncyCastle algorithm id (e.g.
fromBouncyCastleCode(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Factory method: returns the Encryption object corresponding to the given BouncyCastle algorithm code (e.g.
fromBouncyCastleCode(String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Attempts to translate the BouncyCastle code of a signature algorithm (in the "SHA1withRSA" format into an enumeration value.
fromBouncyCastleCodes(String, String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Factory method, returns the enumeration value corresponding to the two given algorithm descriptions.
fromDescription(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
Factory method: returns the Digest object corresponding to the given text description.
fromDescription(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Factory method: returns the Encryption object corresponding to the given text description.
fromString(String) - Static method in enum org.dihedron.crypto.constants.SignatureFormat
Tries to find a SignatureFormat value corresponding to the given textual description; the comparison is performed case insensitively.

G

getAlias() - Method in class org.dihedron.crypto.operations.sign.Signer
Returns the alias of the certificate to be used for signing.
getAsn1Id() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
Returns the numeric (in text form) id of the digest algorithm.
getAsn1Id() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Returns the numeric (in text form) id of the encryption algorithm.
getATR() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
If a smart card is inserted into the reader, returns its ATR (answer-to-reset) code.
getATR() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
Retrieves the smart card SMARTCARD_ATR.
getAttributes(Map) - Method in class org.dihedron.crypto.operations.sign.pkcs7.Pkcs7AttributeTableGenerator
 
getBouncyCastleCode() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
Returns the BouncyCastle code for the given algorithm.
getBouncyCastleCode() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
returns the BouncyCastle code for the given encryption algorithm.
getCertificate(String) - Method in class org.dihedron.crypto.KeyRing
Retrieves the certificate for the given alias.
getCertificateChain(String) - Method in class org.dihedron.crypto.KeyRing
Gets the certificate chain for the given alias.
getCertificateChainAsArray(String) - Method in class org.dihedron.crypto.KeyRing
Gets the certificate chain for the given alias, as an array of Certificates.
getDescription() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
Returns the text description of the digest algorithm.
getDescription() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Returns the text description of the encryption algorithm.
getDescription() - Method in enum org.dihedron.crypto.constants.SignatureFormat
Returns the format as a descriptive string.
getDescription() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
Returns a string describing model and make of the smart card reader.
getDescription() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
Returns the smart card description.
getDigestAlgorithm() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Returns the algorithm used to hash the data.
getDriver(Platform) - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
Attempts to find the supporting PKCS#11 driver on disk.
getEncryptionAlgorithm() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Returns the algorithm used to encrypt the hashed data.
getKeyPair(String, String) - Method in class org.dihedron.crypto.KeyRing
Gets a private and public key pair for the given alias.
getKeyRing() - Method in class org.dihedron.crypto.operations.sign.Signer
Returns the key ring containing the signature key.
getKeyStore() - Method in class org.dihedron.crypto.KeyRing
Deprecated.
getManufacturer() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
Returns the smart card manufacturer.
getPlatform() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Driver
Returns the platform on which this driver is supported.
getPrivateKey(String) - Method in class org.dihedron.crypto.KeyRing
Returns the private key (or a proxy) for the given alias.
getPrivateKey(String, String) - Method in class org.dihedron.crypto.KeyRing
Returns the private key for the given alias, using the provided password to unlock it; the key pair (private/public) password can differ from that of the key store it is kept in.
getProvider() - Method in class org.dihedron.crypto.operations.sign.Signer
Returns the security provider backing up the key store.
getPublicKey(String) - Method in class org.dihedron.crypto.KeyRing
Returns the public key for the given alias.
getPublicKey(String, String) - Method in class org.dihedron.crypto.KeyRing
Returns the public key for the given alias, using the provided password to unlock it; the key pair (private/public) password can differ from that of the key store it is kept in.
getReader() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardTraits
Returns the reader holding the smart card.
getSignatureKeyAliases() - Method in class org.dihedron.crypto.KeyRing
Retrieves a list of aliases corresponding to certificates that bear the "signature" critical extension OID.
getSlot() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
Returns the slot index assigned to this reader.
getSmartCard() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardTraits
Returns the database entry for the smart card in the reader.

H

handle(Callback[]) - Method in class org.dihedron.crypto.providers.smartcard.SmartCardCallbackHandler
Handles the callback request.
hashCode() - Method in class org.dihedron.crypto.providers.smartcard.discovery.ATR
Returns a hash calculated on the upper-cased string representation of the byte sequence.
hasSmartCard() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
Returns whether this smart card reader had a smart card present when this object was created; this information may not be actual and may not reflect the real status of the physical reader if the user inserted or removed the smart card after the creation of this object.

I

initialise(Object...) - Method in class org.dihedron.crypto.operations.decrypt.Decryptor
Initialises the class with a set of (optional) parameters.
initialise(Object...) - Method in class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
Initialises the object and prepares it for signing.
initialise(Object...) - Method in class org.dihedron.crypto.operations.encrypt.Encryptor
Initialises the class with a set of (optional) parameters.
initialise(Object...) - Method in class org.dihedron.crypto.operations.encrypt.pkcs7.Pkcs7Encryptor
Initialises the object and prepares it for signing.
initialise() - Method in class org.dihedron.crypto.operations.sign.pdf.PdfSigner
 
initialise() - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
 
initialise() - Method in class org.dihedron.crypto.operations.sign.Signer
Initialises the object.
InvalidPinException - Exception in org.dihedron.crypto.exceptions
 
InvalidPinException() - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
Constructor.
InvalidPinException(String) - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
Constructor.
InvalidPinException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
Constructor.
InvalidPinException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.InvalidPinException
Constructor.
isCertificateAlias(String) - Method in class org.dihedron.crypto.KeyRing
Checks whether the alias has a corresponding certificate.
isEncapsulateData() - Method in class org.dihedron.crypto.operations.sign.Signer
Returns whether the data is going to be encapsulated along with the signature.
isHashOnCard() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardTraits
Returns whether the new provider will hash data in code or on the smart card.
isPrivateKeyAlias(String) - Method in class org.dihedron.crypto.KeyRing
Checks whether the alias has a corresponding private key.
isSignatureX509Certificate(X509Certificate) - Static method in class org.dihedron.crypto.certificates.CertificateUtils
Checks if the given certificate has all the necessary extensions to be used as a signing certificate.

K

KeyRing - Class in org.dihedron.crypto
The base abstract class providing an abstract interface to several different kinds of key stores.
KeyRing() - Constructor for class org.dihedron.crypto.KeyRing
 
keyring - Variable in class org.dihedron.crypto.operations.sign.Signer
The key ring (as a wrapper and helper to access the key store).

L

LDAPCertificateLoader - Class in org.dihedron.crypto.certificates.impl
 
LDAPCertificateLoader(String, int) - Constructor for class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
LDAPCertificateLoader(String) - Constructor for class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadCertificate(Properties) - Method in interface org.dihedron.crypto.certificates.CertificateLoader
 
loadCertificate(String) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificate(Properties) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificate(String, String) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadCertificate(Properties) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadCertificateData(Properties) - Method in interface org.dihedron.crypto.certificates.CertificateLoader
 
loadCertificateData(String) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificateData(Properties) - Method in class org.dihedron.crypto.certificates.impl.FileCertificateLoader
 
loadCertificateData(String, String) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadCertificateData(Properties) - Method in class org.dihedron.crypto.certificates.impl.LDAPCertificateLoader
 
loadDefault() - Static method in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
Loads the default smart cards database from the class path.
loadFromStream(InputStream) - Static method in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
Initialises the database by parsing the XML file passed in as an input stream.
LockedPinException - Exception in org.dihedron.crypto.exceptions
 
LockedPinException() - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.
LockedPinException(String) - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.
LockedPinException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.
LockedPinException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.LockedPinException
Constructor.

M

main(String[]) - Static method in class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
 
makeCertificateLoader(String) - Static method in class org.dihedron.crypto.certificates.CertificateLoaderFactory
Creates a new CertificateLoader loading its property set from the given file.
makeCertificateLoader(Properties) - Static method in class org.dihedron.crypto.certificates.CertificateLoaderFactory
Creates a new CertificateLoader using the given property set.
makeCertificateStore(Certificate) - Static method in class org.dihedron.crypto.certificates.CertificateUtils
 
makeESSCertIdV1(X509Certificate, IssuerSerial, DigestAlgorithm) - Static method in class org.dihedron.crypto.certificates.CertificateUtils
 
makeESSCertIdV2(X509Certificate, IssuerSerial, DigestAlgorithm) - Static method in class org.dihedron.crypto.certificates.CertificateUtils
 
makeIssuerSerial(X509Certificate) - Static method in class org.dihedron.crypto.certificates.CertificateUtils
Creates an IssuerSerial object for th given certificate.
makeSigner(SignerFactory.Type, String, KeyRing, Provider, SignatureAlgorithm) - Static method in class org.dihedron.crypto.operations.sign.SignerFactory
Creates a signer of the given type, initialising it with the given algorithm information and the given key store to access the private key.
MicrosoftKeyRing - Class in org.dihedron.crypto.providers.mscapi
 
MicrosoftKeyRing(String) - Constructor for class org.dihedron.crypto.providers.mscapi.MicrosoftKeyRing
Constructor.
MicrosoftProvider - Class in org.dihedron.crypto.providers.mscapi
 
MicrosoftProvider() - Constructor for class org.dihedron.crypto.providers.mscapi.MicrosoftProvider
 
MicrosoftTraits - Class in org.dihedron.crypto.providers.mscapi
The set of characteristics of a Microsoft CryptoAPI-based security provider.
MicrosoftTraits() - Constructor for class org.dihedron.crypto.providers.mscapi.MicrosoftTraits
 
MSCAPI_PERSONAL_KEYSTORE - Static variable in class org.dihedron.crypto.providers.mscapi.MicrosoftKeyRing
The name of the key store used by Microsoft CryptoAPI to propagate certificates from the smart card.

O

open() - Method in class org.dihedron.crypto.KeyRing
Acquires a reference to a KeyStore and returns its reference after having logged in.
openImpl() - Method in class org.dihedron.crypto.KeyRing
Loads and logs in to the key store.
openImpl() - Method in class org.dihedron.crypto.providers.mscapi.MicrosoftKeyRing
 
openImpl() - Method in class org.dihedron.crypto.providers.pkcs12.PKCS12KeyRing
 
openImpl() - Method in class org.dihedron.crypto.providers.smartcard.SmartCardKeyRing
 
org.dihedron.crypto - package org.dihedron.crypto
 
org.dihedron.crypto.certificates - package org.dihedron.crypto.certificates
 
org.dihedron.crypto.certificates.impl - package org.dihedron.crypto.certificates.impl
 
org.dihedron.crypto.constants - package org.dihedron.crypto.constants
The package containing the definition of common constants.
org.dihedron.crypto.exceptions - package org.dihedron.crypto.exceptions
 
org.dihedron.crypto.operations - package org.dihedron.crypto.operations
 
org.dihedron.crypto.operations.decrypt - package org.dihedron.crypto.operations.decrypt
The package containing classes supporting decryption.
org.dihedron.crypto.operations.decrypt.pkcs7 - package org.dihedron.crypto.operations.decrypt.pkcs7
The package containing the classes providing encryption in PKCS#7/CMS format.
org.dihedron.crypto.operations.encrypt - package org.dihedron.crypto.operations.encrypt
The package containing classes supporting PKCS#7 encryption.
org.dihedron.crypto.operations.encrypt.pkcs7 - package org.dihedron.crypto.operations.encrypt.pkcs7
The package containing the classes providing encryption in PKCS#7/CMS format.
org.dihedron.crypto.operations.sign - package org.dihedron.crypto.operations.sign
 
org.dihedron.crypto.operations.sign.pdf - package org.dihedron.crypto.operations.sign.pdf
 
org.dihedron.crypto.operations.sign.pkcs7 - package org.dihedron.crypto.operations.sign.pkcs7
The package containing the implementation of the CMS/PKCS#7 signer.
org.dihedron.crypto.providers - package org.dihedron.crypto.providers
 
org.dihedron.crypto.providers.mscapi - package org.dihedron.crypto.providers.mscapi
 
org.dihedron.crypto.providers.pkcs12 - package org.dihedron.crypto.providers.pkcs12
 
org.dihedron.crypto.providers.smartcard - package org.dihedron.crypto.providers.smartcard
 
org.dihedron.crypto.providers.smartcard.discovery - package org.dihedron.crypto.providers.smartcard.discovery
The package containing classes to support the creation of smart cards-based, PKCS#11 security providers.

P

PdfSigner - Class in org.dihedron.crypto.operations.sign.pdf
 
PdfSigner(String, KeyRing, Provider) - Constructor for class org.dihedron.crypto.operations.sign.pdf.PdfSigner
 
PdfSigner(String, KeyRing, Provider, PdfSigner.Mode) - Constructor for class org.dihedron.crypto.operations.sign.pdf.PdfSigner
Constructor.
PdfSigner.Mode - Enum in org.dihedron.crypto.operations.sign.pdf
 
PKCS12KeyRing - Class in org.dihedron.crypto.providers.pkcs12
 
PKCS12KeyRing(File, String) - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12KeyRing
Constructor.
PKCS12KeyRing(String, String) - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12KeyRing
Constructor.
PKCS12Provider - Class in org.dihedron.crypto.providers.pkcs12
 
PKCS12Provider() - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12Provider
 
PKCS12Traits - Class in org.dihedron.crypto.providers.pkcs12
The set of characteristics of a JCE built-in provider.
PKCS12Traits() - Constructor for class org.dihedron.crypto.providers.pkcs12.PKCS12Traits
 
Pkcs7AttributeTableGenerator - Class in org.dihedron.crypto.operations.sign.pkcs7
 
Pkcs7AttributeTableGenerator(DigestAlgorithm, X509Certificate) - Constructor for class org.dihedron.crypto.operations.sign.pkcs7.Pkcs7AttributeTableGenerator
 
Pkcs7Decryptor - Class in org.dihedron.crypto.operations.decrypt.pkcs7
 
Pkcs7Decryptor() - Constructor for class org.dihedron.crypto.operations.decrypt.pkcs7.Pkcs7Decryptor
 
Pkcs7Encryptor - Class in org.dihedron.crypto.operations.encrypt.pkcs7
 
Pkcs7Encryptor() - Constructor for class org.dihedron.crypto.operations.encrypt.pkcs7.Pkcs7Encryptor
 
PKCS7Signer - Class in org.dihedron.crypto.operations.sign.pkcs7
 
PKCS7Signer(String, KeyRing, Provider, SignatureAlgorithm) - Constructor for class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
Constructor.
PKCS7Signer(String, KeyRing, Provider, String, String) - Constructor for class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
Constructor.
provider - Variable in class org.dihedron.crypto.operations.sign.Signer
The security provider.
ProviderException - Exception in org.dihedron.crypto.exceptions
The root of the exception hierarchy in the Crypto library.
ProviderException() - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Default constructor.
ProviderException(String) - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Constructor.
ProviderException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Constructor.
ProviderException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.ProviderException
Constructor.
ProviderFactory<T extends ProviderTraits> - Class in org.dihedron.crypto.providers
Base class for all security provider factory objects.
ProviderFactory() - Constructor for class org.dihedron.crypto.providers.ProviderFactory
 
ProviderTraits - Interface in org.dihedron.crypto.providers
Marker interface; all security provider configuration objects must implement this interface.

R

Reader - Class in org.dihedron.crypto.providers.smartcard.discovery
 
Readers - Class in org.dihedron.crypto.providers.smartcard.discovery
 
release(Provider) - Method in class org.dihedron.crypto.providers.ProviderFactory
Releases the given provider instance; sub-classes may want to implement custom cleanup logic on a per-instance basis.
release(Provider) - Method in class org.dihedron.crypto.providers.smartcard.SmartCardProviderFactory
Uninstalls the given provider; smart cards instantiate a new provider for each different smart card, in order to support multiple initialisation parameters, and these custom providers need to be uninstalled once one is done using them.

S

sign(byte[]) - Method in class org.dihedron.crypto.operations.sign.pdf.PdfSigner
 
sign(byte[]) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
 
sign(byte[]) - Method in class org.dihedron.crypto.operations.sign.Signer
Signs the given set of data.
SIGNATURE_CRITICAL_EXTENSION_OID - Static variable in class org.dihedron.crypto.KeyRing
The critical extension that signature certificates must have in order to be recognised as valid for signing.
SignatureAlgorithm - Enum in org.dihedron.crypto.constants
 
SignatureFormat - Enum in org.dihedron.crypto.constants
Signature types.
Signer - Class in org.dihedron.crypto.operations.sign
This class acts as the base class, providing common functionalities, to all fashions of signers.
Signer(String, KeyRing, Provider) - Constructor for class org.dihedron.crypto.operations.sign.Signer
Constructor.
SignerFactory - Class in org.dihedron.crypto.operations.sign
Factory class for signers; depending on the requested signature format, it will create the apprropiate signer.
SignerFactory() - Constructor for class org.dihedron.crypto.operations.sign.SignerFactory
 
SignerFactory.Type - Enum in org.dihedron.crypto.operations.sign
The set of available signer objects.
SmartCard - Class in org.dihedron.crypto.providers.smartcard.discovery
This class represents the smart card information needed to use a given smart card on a set of supported platforms; the smart card can be identified by means of its SMARTCARD_ATR (answer to reset) code and is accompanied by a description, and the name of the manufacturer; each supporting driver (one per platform) has the name of the PKCS#11 driver library ( a .dll on Windows, a .so on Linux...) and a series of paths where it should be located.
SmartCardCallbackHandler - Class in org.dihedron.crypto.providers.smartcard
 
SmartCardCallbackHandler(String) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardCallbackHandler
Constructor.
SmartCardException - Exception in org.dihedron.crypto.exceptions
The root of the smart card provider-specific exceptions.
SmartCardException() - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
Default constructor.
SmartCardException(String) - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
Constructor.
SmartCardException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
Constructor.
SmartCardException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.SmartCardException
Constructor.
SmartCardKeyRing - Class in org.dihedron.crypto.providers.smartcard
 
SmartCardKeyRing(Provider, String) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardKeyRing
Constructor.
SmartCardProviderFactory - Class in org.dihedron.crypto.providers.smartcard
Smart card securoty provider factory class: helps install a security provider for PKCS#11 providers, once the reader in which the PKCS#11 token is available has been detected and information about the smart card (in the form of a SmartCard database entry) has been retrieved.
SmartCardProviderFactory() - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardProviderFactory
 
SMARTCARDS_XSD - Static variable in class org.dihedron.crypto.providers.smartcard.discovery.DataBaseLoader
The name of the smart cards database schema.
SmartCardTraits - Class in org.dihedron.crypto.providers.smartcard
The set of characteristics of a smart card based PKCS#11 security provider.
SmartCardTraits(Reader, SmartCard) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardTraits
Constructor.
SmartCardTraits(Reader, SmartCard, boolean) - Constructor for class org.dihedron.crypto.providers.smartcard.SmartCardTraits
Constructor.

T

toBouncyCastleCode() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Provides a string representation of the signature algorithm in the format used by BouncyCastle to identify it, e.g.
toString() - Method in enum org.dihedron.crypto.constants.DigestAlgorithm
Formats the object as a string.
toString() - Method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Formats the object as a string.
toString() - Method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Returns the algorithm string representation, such as "SHA256withRSA".
toString() - Method in enum org.dihedron.crypto.constants.SignatureFormat
Returns the format as a descriptive string.
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.ATR
Returns a String representation of the ATR.
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.DataBase
Returns a pretty printed, complex representation of the object as a string.
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Driver
 
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.Reader
Returns a JSON-like representation of the reader's internal status.
toString() - Method in class org.dihedron.crypto.providers.smartcard.discovery.SmartCard
 

U

UnavailableDriverException - Exception in org.dihedron.crypto.exceptions
 
UnavailableDriverException() - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnavailableDriverException(String) - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnavailableDriverException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnavailableDriverException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnavailableDriverException
Constructor.
UnsupportedFormatException - Exception in org.dihedron.crypto.exceptions
 
UnsupportedFormatException() - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.
UnsupportedFormatException(String) - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.
UnsupportedFormatException(Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.
UnsupportedFormatException(String, Throwable) - Constructor for exception org.dihedron.crypto.exceptions.UnsupportedFormatException
Constructor.

V

valueOf(String) - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dihedron.crypto.constants.SignatureFormat
Returns the enum constant of this type with the specified name.
valueOf(Traits) - Static method in class org.dihedron.crypto.CryptoLibrary
Returns the value of the give trait.
valueOf(String) - Static method in enum org.dihedron.crypto.operations.sign.pdf.PdfSigner.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dihedron.crypto.operations.sign.SignerFactory.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dihedron.crypto.constants.DigestAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dihedron.crypto.constants.EncryptionAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dihedron.crypto.constants.SignatureAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dihedron.crypto.constants.SignatureFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dihedron.crypto.operations.sign.pdf.PdfSigner.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dihedron.crypto.operations.sign.SignerFactory.Type
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[]) - Method in class org.dihedron.crypto.operations.sign.pdf.PdfSigner
 
verify(byte[], byte[]) - Method in class org.dihedron.crypto.operations.sign.pdf.PdfSigner
 
verify(byte[]) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
 
verify(byte[], byte[]) - Method in class org.dihedron.crypto.operations.sign.pkcs7.PKCS7Signer
 
verify(byte[]) - Method in class org.dihedron.crypto.operations.sign.Signer
Verifies the signature of the given set of encapsulated data.
verify(byte[], byte[]) - Method in class org.dihedron.crypto.operations.sign.Signer
Verifies the signature of the given set of detached data.

W

writeToFile(Certificate, String) - Static method in class org.dihedron.crypto.certificates.CertificateUtils
 
A C D E F G H I K L M O P R S T U V W 

Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.