Package eu.emi.security.authn.x509.helpers
package eu.emi.security.authn.x509.helpers
Consists of general purpose classes, helping to implement generic functionality of the library.
Warning: this package contains internal implementation of the library. It is not guaranteed that API of the classes from this package will not change in future releases.
-
ClassDescriptionAbstract base for credential implementations which delegate to another one.Base class with a shared code for
X509Credential
implementations.A simplisticX509CertChainValidator
implementation which always fails or accepts certificates, basing on the constructor argument.Cached element is a container of an arbitrary object, enriched with a creation timestamp.This class extends thePEMParser
class from the BC library.Utility methods for certificates handling and reading/writing PEM files.Trivial implementation ofPasswordSupplier
which uses a password provided to the constructor.Helpers for checking text representations of DNs for equality.Extends BC'sPEMParser
class so it can read correctly also PEM files with a garbage at the beginning and minor syntax violations which occur more then often in the wild.ExtendsBCStyle
with additional recognized attribute names, to make it fully compatible with what the internal OpenJDK implementation supports when parsing string RFC 2253 DNs.KeyStore
class utility helpersThread safe class maintaining a collection ofStoreUpdateListener
s.Provides password on demand.This class extends thePEMParser
class from the BC library.InputStream
implementation that reads a character stream from aReader
and transforms it to a byte stream using a specified charset encoding.This class holds a partner of the TimerTask reference as weak one.