Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAndStoreCertificate(KeyStore, File, String, String, Certificate) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Add the given certificate to the given
KeyStore
object and stores it to the given keystore file - addAndStorePrivateKey(KeyStore, File, String, PrivateKey, char[], Certificate[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Add the given private key to the given
KeyStore
object and stores it to the given keystore file - addCertificate(KeyStore, String, Certificate) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Add the given certificate to the given
KeyStore
object. - addPrivateKey(KeyStore, String, PrivateKey, char[], Certificate[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Add the given private key to the given
KeyStore
object - Address - Class in io.github.astrapi69.crypt.data.blockchain
-
The class
Address
represents a blockchain address, consisting of a name, a public key, and a hash generated from these values using a specified hash algorithm. - Address() - Constructor for class io.github.astrapi69.crypt.data.blockchain.Address
-
Instantiates a new
Address
with no parameters. - Address(String, byte[]) - Constructor for class io.github.astrapi69.crypt.data.blockchain.Address
-
Instantiates a new
Address
with the specified name and public key. - AesRsaCryptModel - Class in io.github.astrapi69.crypt.data.model
-
The class
AesRsaCryptModel
holds a byte array of the encrypted asymmetric key and the byte array of the encrypted object that is encrypted with the symmetric key - AesRsaCryptModel() - Constructor for class io.github.astrapi69.crypt.data.model.AesRsaCryptModel
- AlgorithmExtensions - Class in io.github.astrapi69.crypt.data.algorithm
-
The class
AlgorithmExtensions
provides methods to validate if a given algorithm is supported for a specific service and to retrieve the supported algorithms for a service - AlgorithmExtensions() - Constructor for class io.github.astrapi69.crypt.data.algorithm.AlgorithmExtensions
- AlgorithmParameterSpecFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
AlgorithmParameterSpecFactory
holds methods for creatingAlgorithmParameterSpec
objects.
B
- BEGIN_CERTIFICATE_PREFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
The Constant BEGIN_CERTIFICATE_PREFIX.
- BEGIN_PUBLIC_KEY_PREFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
The Constant BEGIN_PUBLIC_KEY_PREFIX.
- Block - Class in io.github.astrapi69.crypt.data.blockchain
-
The class
Block
represents a block in a blockchain. - Block() - Constructor for class io.github.astrapi69.crypt.data.blockchain.Block
-
Instantiates a new
Block
with no parameters. - Block(byte[], List<ITransaction>, long) - Constructor for class io.github.astrapi69.crypt.data.blockchain.Block
-
Instantiates a new
Block
with the specified previous block hash, list of transactions, and tries. - build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
-
Builds the
ObfuscationOperationRule
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
-
Build obfuscation rule
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules.CharacterObfuscationRulesBuilder
-
Build character obfuscation rules.
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder
-
Build obfuscation bi map rules.
- build() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
-
Build obfuscation rules.
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Creates a new builder for
ObfuscationOperationRule
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
Builder obfuscation rule builder
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
-
Builder obfuscation bi map rules builder.
- builder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
-
Builder obfuscation rules builder.
C
- canEqual(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
-
Checks if the other object is an instance of
Address
. - CertFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CertFactory
holds methods for creatingCertificate
objects and subclasses likeX509Certificate
Note: a very good entry point for creating yourself certificate you can follow this link - CertificateBuilderFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CertificateBuilderFactory
holds methods for creating CertificateBuilder. - CertificateExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
CertificateExtensions
provides extension methods forX509Certificate
objects. - CertificateInfo - Class in io.github.astrapi69.crypt.data.model
-
The class
CertificateInfo
represents all the information for an X.509 certificate - CertificateInfo() - Constructor for class io.github.astrapi69.crypt.data.model.CertificateInfo
- CertificateReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
CertificateReader
is a utility class for reading certificates. - CertificateV1Info - Class in io.github.astrapi69.crypt.data.model
-
The class
CertificateV1Info
represents all the information for an X.509 V1 certificate - CertificateV1Info() - Constructor for class io.github.astrapi69.crypt.data.model.CertificateV1Info
- CertificateV3Info - Class in io.github.astrapi69.crypt.data.model
-
The class
CertificateV3Info
represents all the information for an X.509 V3 certificate - CertificateV3Info() - Constructor for class io.github.astrapi69.crypt.data.model.CertificateV3Info
- CertificateWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
CertificateWriter
is a utility class for write certificates in files or streams in several file formats. - character(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
-
Sets the character to be obfuscated
- character(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
-
Character obfuscation rule builder
- CharacterObfuscationOperationRule - Class in io.github.astrapi69.crypt.data.obfuscation.rule
-
The class
CharacterObfuscationOperationRule
builds a complex rule for obfuscating a single character It extends theObfuscationOperationRule
to provide specific rules for character obfuscation - CharacterObfuscationOperationRule() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
-
Instantiates a new
CharacterObfuscationOperationRule
with no parameters - CharacterObfuscationOperationRule(Character, Set<Integer>, boolean, Optional<Character>, Operation, Character) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
-
Instantiates a new
CharacterObfuscationOperationRule
with the specified parameters - CharacterObfuscationRules - Class in io.github.astrapi69.crypt.data.obfuscation.rules
-
The class
CharacterObfuscationRules
can define a simple rule for encrypt and decrypt a key. - CharacterObfuscationRules(BiMap<Character, Character>) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
-
Instantiates a new
CharacterObfuscationRules
. - CharacterObfuscationRules.CharacterObfuscationRulesBuilder - Class in io.github.astrapi69.crypt.data.obfuscation.rules
-
The type Character obfuscation rules builder.
- CipherFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CipherFactory
holds methods for creatingCipher
objects - clearRules() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
-
Clear rules obfuscation rules . obfuscation rules builder.
- compare(ObfuscationOperationRule<Character, Character>, ObfuscationOperationRule<Character, Character>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRuleComparator
- CryptModel<C,
K, T> - Class in io.github.astrapi69.crypt.data.model -
The class
CryptModel
holds data for the encryption or decryption process. - CryptModel() - Constructor for class io.github.astrapi69.crypt.data.model.CryptModel
- CryptModelFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
CryptModelFactory
holds methods for creatingCryptModel
objects - CryptoAlgorithm - Class in io.github.astrapi69.crypt.data.algorithm
-
The class
CryptoAlgorithm
provides factory method for create an algorithm from string for encryption or decryption. - CryptObjectDecorator<T> - Class in io.github.astrapi69.crypt.data.model
-
The class
CryptObjectDecorator
holds a prefix and a suffix that can decorate an crypt object - CryptObjectDecorator() - Constructor for class io.github.astrapi69.crypt.data.model.CryptObjectDecorator
D
- decodeBase64(String) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Transform the given base64 encoded string to an encoded key as byte array value
- decodeHex(byte[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given byte array that contains the binary data decoded to a String object.
- decodeHex(char[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of characters representing hexadecimal values into an array of bytes
- decodeHex(String) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Decode the given hexadecimal
String
object - decodeHexToString(char[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of characters representing hexadecimal values into a String object
- deleteAlias(File, String, String) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Delete the given alias from the given keystore file
- DistinguishedNameInfo - Class in io.github.astrapi69.crypt.data.model
-
Data class representing the distinguished name information
- DistinguishedNameInfo() - Constructor for class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
E
- encodeHex(byte[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of bytes into an array of characters representing the hexadecimal values of each byte in order
- encodeHex(byte[], boolean) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given array of bytes into an array of characters representing the hexadecimal values of each byte in order
- encodeHex(String) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given String into an array of characters representing the hexadecimal values of each byte in order
- encodeHex(String, Charset, boolean) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
- EncryptedPrivateKeyReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
EncryptedPrivateKeyReader
is a utility class for reading encrypted private keys that are protected with a password - EncryptedPrivateKeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
EncryptedPrivateKeyWriter
is a utility class for write and protectPrivateKey
objects with a password to files. - encryptPrivateKeyWithPassword(PrivateKey, File, String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Encrypt the given
PrivateKey
with the given password and write the result to the givenFile
. - encryptPrivateKeyWithPassword(PrivateKey, OutputStream, String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Encrypt the given
PrivateKey
with the given password and write the result to the givenOutputStream
. - encryptPrivateKeyWithPassword(PrivateKey, String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Encrypt the given
PrivateKey
with the given password and return the resulted byte array. - END_CERTIFICATE_SUFFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
The Constant END_CERTIFICATE_SUFFIX.
- END_PUBLIC_KEY_SUFFIX - Static variable in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
The Constant END_PUBLIC_KEY_SUFFIX.
- equals(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- equals(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- equals(Object) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- equals(Object) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- ExtensionInfo - Class in io.github.astrapi69.crypt.data.model
-
Data class representing extension information
- ExtensionInfo() - Constructor for class io.github.astrapi69.crypt.data.model.ExtensionInfo
- extractExtensionInfos(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.model.ExtensionInfo
-
Extracts extension-infos from an
X509Certificate
and returns them as a list ofExtensionInfo
objects - extractToExtensionInfoArray(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.model.ExtensionInfo
-
Extracts extension-infos from an
X509Certificate
and returns them as an array ofExtensionInfo
objects
F
- fromExtension(Extension) - Static method in class io.github.astrapi69.crypt.data.model.ExtensionInfo
-
Factory method to create an
ExtensionInfo
object from aExtension
object - fromPKCS1ToPemFormat(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given byte array (of private key in PKCS#1 format) to a PEM formatted
String
G
- generatePublicKey(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Generate the corresponding
PublicKey
object from the givenPrivateKey
object - getAlgorithm(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Parses the private key bytes to determine the algorithm used
- getAlgorithm(Key) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Gets the standard algorithm name from the given
Key
object - getAlgorithm(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Get the standard algorithm name from the given
PrivateKey
- getAlgorithm(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Get the standard algorithm name from the given
PublicKey
- getAlgorithms(String) - Static method in class io.github.astrapi69.crypt.data.algorithm.AlgorithmExtensions
-
Retrieves a set of algorithms for the specified Java cryptographic service
- getAllServiceNames(Provider[]) - Static method in class io.github.astrapi69.crypt.data.algorithm.AlgorithmExtensions
-
Retrieves all specified Java cryptographic service names from the given
Provider
array object - getCertificate(KeyStore, String) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Gets the certificate that is associated with the given alias from the given
KeyStore
object - getCharacter() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Gets the character to be obfuscated
- getCharacter() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
Gets character
- getCountry(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the country value of the given
X509Certificate
. - getData() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getEncoded(Key) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Gets the byte array from the given
Key
object - getEncoded(Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Get the
Certificate
in its primary encoding format - getEncoded(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Get the
PrivateKey
in its primary encoding format, or null if this key does not support encoding - getEncoded(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Get the
PublicKey
in its primary encoding format, or null if this key does not support encoding - getExtensions(Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the
Extensions
object of the givenX509Certificate
object - getFingerprint(X509Certificate, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the fingerprint from the given
X509Certificate
and the given algorithm. - getFirstValueOf(X509Certificate, ASN1ObjectIdentifier) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the first value of the given
X509Certificate
and the givenASN1ObjectIdentifier
. - getFormat(Key) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Gets the format from the given
Key
object - getFormat(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Get the name of the primary encoding format from the given
PrivateKey
or null if it does not support encoding - getFormat(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Get the name of the primary encoding format from the given
PublicKey
or null if it does not support encoding - getHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- getHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getIndexes() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Gets the indexes where this rule will execute
- getIssuedBy(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the issued by value of the given
X509Certificate
. - getIssuedTo(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the issued to value of the given
X509Certificate
. - getKeyFormat(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Resolves the format of the given
File
- getKeyLength(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Gets the key length of the given
PrivateKey
- getKeyLength(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Gets the key length of the given
PublicKey
- getKeyPair(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
- getKeySize(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Gets the
KeySize
of the givenPrivateKey
or null if not found - getLeadingZerosCount() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getLocality(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the locality value of the given
X509Certificate
. - getMerkleRoot() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getMerkleRootHash(Queue<byte[]>, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Gets the hash value of the given queue and the given algorithm
- getName() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- getObfuscationRules() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
-
Gets obfuscation rules.
- getOperatedCharacter() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Gets the optional character that results from the operation
- getOperation() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Gets the operation to be applied for obfuscation
- getOrganization(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the organization value of the given
X509Certificate
. - getPasswordProtectedPrivateKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.key.writer.EncryptedPrivateKeyWriter
-
Gets the private key from the given encrypted byte array with the given password.
- getPemObject(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Gets the pem object
- getPemObject(String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Gets the pem object from the given pem string
- getPemType(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Get the
PemType
the givenFile
object - getPemType(PemObject) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Get the
PemType
the givenPemObject
object - getPreviousBlockHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getPrivateKey(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Gets an
Optional
with the private key from the given file. - getPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Gets an
Optional
with the private key from the given file. - getPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Gets an
Optional
with the password protected private key from the given file. - getPrivateKey(KeyStore, String, char[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Gets the private key that is associated with the given alias from the given
KeyStore
object - getPublicKey() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- getPublicKey(Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Get the
PublicKey
object from the givenCertificate
object - getReplaceWith() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Gets the character(s) that will be replaced with
- getReplaceWith() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
Gets replace with
- getRules() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
-
Gets rules.
- getSenderHash() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getSerialNumber(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the serial number from the given
X509Certificate
object - getServiceNames(Provider) - Static method in class io.github.astrapi69.crypt.data.algorithm.AlgorithmExtensions
-
Retrieves all specified Java cryptographic service names from the given
Provider
object - getSignableData() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getSignature() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getSignatureAlgorithm(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the signature algorithm.
- getSubject(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the issued by value of the given
X509Certificate
. - getSupportedKeySizes(String, Class<T>, KeySizeInitializer<T>, int, int, int) - Static method in class io.github.astrapi69.crypt.data.key.KeySizeExtensions
-
Generic method to determine supported key sizes for a cryptographic service
- getSupportedKeySizesForAlgorithmParameterGenerator(String) - Static method in class io.github.astrapi69.crypt.data.key.KeySizeExtensions
-
Retrieves the set of supported key sizes for the specified cryptographic algorithm using a
KeyGenerator
- getSupportedKeySizesForKeyGenerator(String) - Static method in class io.github.astrapi69.crypt.data.key.KeySizeExtensions
-
Retrieves the set of supported key sizes for the specified cryptographic algorithm using a
KeyGenerator
- getSupportedKeySizesForKeyPairGenerator(String) - Static method in class io.github.astrapi69.crypt.data.key.KeySizeExtensions
-
Retrieves the set of supported key sizes for the specified cryptographic algorithm using a
KeyPairGenerator
- getSupportedProviderNames() - Static method in class io.github.astrapi69.crypt.data.provider.ProviderExtensions
-
Gets an array with all the installed provider names
- getSupportedProviderNamesAndVersion() - Static method in class io.github.astrapi69.crypt.data.provider.ProviderExtensions
-
Gets an array with all the installed provider names with the corresponding versions
- getSupportedProviders() - Static method in class io.github.astrapi69.crypt.data.provider.ProviderExtensions
-
Gets an array with all the installed providers
- getText() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getTimestamp() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getTimestamp() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- getTransactions() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getTries() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- getValidFrom(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the valid from of the given
X509Certificate
. - getValidityInDays() - Method in class io.github.astrapi69.crypt.data.model.Validity
-
Calculates the number of days between the notBefore and notAfter dates.
- getValidUntil(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the valid until of the given
X509Certificate
. - getVersion(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Gets the valid from of the given
X509Certificate
.
H
- hash(byte[], byte[], byte[], long, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Calculates the hash value as byte array from the given fields
- hash(byte[], byte[], long, long, HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Calculates the hash value as byte array from the given fields
- hash(byte[], byte[], HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Calculates the hash value as byte array from the given fields
- hash(byte[], HashAlgorithm) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes the given
byte
object with the given parameters - hash(byte[], String, HashAlgorithm, Charset) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes the given
byte
object with the given parameters - hash(String, String, HashAlgorithm, Charset) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes the given
String
object with the given parameters - hashAndBase64(String, String, HashAlgorithm, Charset) - Static method in class io.github.astrapi69.crypt.data.hash.HashExtensions
-
Hashes and encodes it with base64 from the given
String
object with the given parameters - hashCode() - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- hashCode() - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- hashCode() - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- hashCode() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- HashExtensions - Class in io.github.astrapi69.crypt.data.hash
-
The class
HashExtensions
provides utility methods for hashing operations - HexExtensions - Class in io.github.astrapi69.crypt.data.hex
-
The class
HexExtensions
provides methods for encode and decode hex encoded byte or char arrays andString
objects
I
- indexes(Set<Integer>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
-
Sets the indexes where this rule will execute
- initialize(T, int) - Method in interface io.github.astrapi69.crypt.data.key.KeySizeInitializer
-
Initializes the given generator with the specified key size
- inverted(boolean) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
-
Sets if the character is inverted with replaceWith
- io.github.astrapi69.crypt.data.algorithm - package io.github.astrapi69.crypt.data.algorithm
-
This package provides classes for creating adhoc
Algorithm
object from string objects - io.github.astrapi69.crypt.data.blockchain - package io.github.astrapi69.crypt.data.blockchain
-
This package provides classes for creating blockchains
- io.github.astrapi69.crypt.data.factory - package io.github.astrapi69.crypt.data.factory
-
This package provides factory classes for create cipher and other java security objects
- io.github.astrapi69.crypt.data.hash - package io.github.astrapi69.crypt.data.hash
-
This package provides classes for hash text values
- io.github.astrapi69.crypt.data.hex - package io.github.astrapi69.crypt.data.hex
-
This package provides classes for hex text values
- io.github.astrapi69.crypt.data.key - package io.github.astrapi69.crypt.data.key
-
This package provides utility classes for handling private and public key objects
- io.github.astrapi69.crypt.data.key.reader - package io.github.astrapi69.crypt.data.key.reader
-
This package provides utility reader classes for reading certificates objects, private and public keys in *.der or *.pem format and encrypted private keys that are protected with a password from files or byte arrays.
- io.github.astrapi69.crypt.data.key.writer - package io.github.astrapi69.crypt.data.key.writer
-
This package provides utility writer classes for write certificates objects, private and public keys in *.der or *.pem format and decrypt private keys that are protected with a password from files or byte arrays.
- io.github.astrapi69.crypt.data.model - package io.github.astrapi69.crypt.data.model
-
This package provides bean classes that hold information for the encryption or decryption process
- io.github.astrapi69.crypt.data.obfuscation.rule - package io.github.astrapi69.crypt.data.obfuscation.rule
-
This package provides classes that defines obfuscation rules
- io.github.astrapi69.crypt.data.obfuscation.rules - package io.github.astrapi69.crypt.data.obfuscation.rules
-
This package provides classes that decorates obfuscation rules
- io.github.astrapi69.crypt.data.provider - package io.github.astrapi69.crypt.data.provider
- io.github.astrapisixtynine.crypt.data - module io.github.astrapisixtynine.crypt.data
-
The MIT License Copyright (C) 2015 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- isInverted() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Checks if the character is inverted with replaceWith
- isPemFormat(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Checks if the given
File
is in pem format - isPemObject(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Checks if the given File contains a pem object
- isPrivateKeyPasswordProtected(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Checks if the given
File
is password protected - isValid(String, String) - Static method in class io.github.astrapi69.crypt.data.algorithm.AlgorithmExtensions
-
Validates if the provided algorithm is supported for the given service name
K
- KeyAgreementFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeyAgreementFactory
holds methods for creating new sharedSecretKey
objects andKeyAgreement
objects - KeyAgreementFactory() - Constructor for class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
- KeyExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
KeyExtensions
provides utility methods for key transformations and retrievals - KeyInfo - Class in io.github.astrapi69.crypt.data.model
-
Data class representing key information
- KeyInfo() - Constructor for class io.github.astrapi69.crypt.data.model.KeyInfo
- KeyInfoExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
KeyInfoExtensions
provides algorithms for transforming a givenKeyInfo
object to the appropriate key objects and given keys to the appropriateKeyInfo
object - KeyInfoExtensions() - Constructor for class io.github.astrapi69.crypt.data.key.KeyInfoExtensions
- KeyModel - Class in io.github.astrapi69.crypt.data.model
-
Data class representing key information.
- KeyModel() - Constructor for class io.github.astrapi69.crypt.data.model.KeyModel
- KeyModelExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
KeyModelExtensions
provides algorithms for transform a givenKeyModel
object to the appropriate key objects and given keys to the appropriateKeyModel
object - KeyModelExtensions() - Constructor for class io.github.astrapi69.crypt.data.key.KeyModelExtensions
- KeyPairFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeyPairFactory
holds methods for creatingKeyPair
objects - KeyPairGeneratorFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeyPairGeneratorFactory
holds methods for creatingKeyPairGenerator
objects. - KeyPairInfo - Class in io.github.astrapi69.crypt.data.model
-
Data class representing key pair information.
- KeyPairInfo() - Constructor for class io.github.astrapi69.crypt.data.model.KeyPairInfo
- KeySizeExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
KeySizeExtensions
provides methods to retrieve supported key sizes for various cryptographic algorithms using different cryptographic service types - KeySizeExtensions() - Constructor for class io.github.astrapi69.crypt.data.key.KeySizeExtensions
- KeySizeInitializer<T> - Interface in io.github.astrapi69.crypt.data.key
-
The functional interface
KeySizeInitializer
provides a method for initializing a cryptographic key generator with a specified key size - KeySpecFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeySpecFactory
holds methods for creatingKeySpec
objects - KeyStoreExtensions - Class in io.github.astrapi69.crypt.data.key
-
The extension class
KeyStoreExtensions
provides extension methods for theKeyStore
- KeyStoreFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
KeyStoreFactory
holds methods for creatingKeyStore
objects - KeyStoreInfo - Class in io.github.astrapi69.crypt.data.model
-
Data class representing key store information.
- KeyStoreInfo() - Constructor for class io.github.astrapi69.crypt.data.model.KeyStoreInfo
- KeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
KeyWriter
is a utility class for write security keys in files.
L
- loadKeyStore(KeyStoreInfo) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Factory method for creating a new
KeyStore
object from the givenKeyStoreInfo
object loaded from an existingKeyStore
object - loadKeyStore(File, String, char[]) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
- loadKeyStore(File, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
N
- name() - Method in class io.github.astrapi69.crypt.data.algorithm.CryptoAlgorithm
-
Gets the name of this algorithm
- newAlgorithm(String) - Static method in class io.github.astrapi69.crypt.data.algorithm.CryptoAlgorithm
-
Factory method for creating a new
Algorithm
from the given string algorithm - newCipher(int, SecretKey, String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given parameters - newCipher(int, SecretKey, AlgorithmParameterSpec, String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given parameters - newCipher(CryptModel<Cipher, String, String>) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given parameters - newCipher(String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given algorithm - newCipher(String, String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given algorithm and provider - newCipher(String, String, byte[], int, int) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new
Cipher
from the given parameters - newCryptModel(Algorithm, String) - Static method in class io.github.astrapi69.crypt.data.factory.CryptModelFactory
-
Factory method for creating a new
CryptModel
from the givenAlgorithm
and the given key asString
object. - newCryptModel(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.factory.CryptModelFactory
-
Factory method for creating a new
CryptModel
from the givenPrivateKey
- newCryptModel(PublicKey) - Static method in class io.github.astrapi69.crypt.data.factory.CryptModelFactory
-
Factory method for creating a new
CryptModel
from the givenPublicKey
- newDESedeKeySpec(byte[]) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
DESedeKeySpec
from the given secret key as byte array - newDESKeySpec(byte[]) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
DESKeySpec
from the given secret key as byte array - newEndEntityX509CertificateV3(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String, X509Certificate) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters that can be used as an end entity certificate - newIntermediateX509CertificateV3(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String, X509Certificate) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters that can be used to sign other certificates - newKeyAgreement(PrivateKey, PublicKey, String, String, boolean) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Factory method for creating a new
KeyAgreement
object from the given arguments - newKeyPair(KeyPairInfo) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method to create a new
KeyPair
object from the givenKeyPairInfo
object - newKeyPair(Algorithm) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given algorithm and default key size 2048 - newKeyPair(Algorithm, int) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given algorithm and key size - newKeyPair(Algorithm, KeySize) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given algorithm andKeySize
- newKeyPair(File, File) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters - newKeyPair(String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given algorithm and default key size 2048 - newKeyPair(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters - newKeyPair(String, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters - newKeyPair(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given private key - newKeyPair(PublicKey, PrivateKey) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters - newKeyPair(ECNamedCurveParameterSpec, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairFactory
-
Factory method for creating a new
KeyPair
from the given parameters - newKeyPairGenerator(String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairGeneratorFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters. - newKeyPairGenerator(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairGeneratorFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters. - newKeyPairGenerator(String, int, SecureRandom) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairGeneratorFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters - newKeyPairGenerator(String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairGeneratorFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters. - newKeyPairGenerator(String, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairGeneratorFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters - newKeyPairGenerator(ECNamedCurveParameterSpec, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyPairGeneratorFactory
-
Factory method for creating a new
KeyPairGenerator
from the given parameters - newKeyStore(KeyStoreInfo) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Factory method for creating a new empty
KeyStore
object from the givenKeyStoreInfo
object - newKeyStore(File, String, char[]) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Factory method for creating a new empty
KeyStore
object and saving it to the given file with the given parameters - newKeyStore(File, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Factory method for creating a new empty
KeyStore
object and saving it to the given file with the given parameters - newKeystoreAndSaveForSsl(KeyStoreInfo, KeyInfo, KeyInfo, String, char[]) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Creates a new keystore for SSL, saves the provided private key and certificate in it, and stores it in a file
- newKeystoreAndSaveForSsl(KeyStoreInfo, PrivateKey, Certificate, String, char[]) - Static method in class io.github.astrapi69.crypt.data.factory.KeyStoreFactory
-
Creates a new keystore for SSL, saves the provided private key and certificate in it, and stores it in a file
- newPBECipher(char[], int, String) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new PBE
Cipher
from the given parameters - newPBECipher(char[], int, String, byte[], int) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new PBE
Cipher
from the given parameters - newPBECipher(String, String, byte[], int, int) - Static method in class io.github.astrapi69.crypt.data.factory.CipherFactory
-
Factory method for creating a new PBE
Cipher
from the given parameters - newPBEKeySpec(String) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
PBEKeySpec
from the given private key - newPBEKeySpec(String, byte[], int) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
PBEKeySpec
from the given password, salt and the iteration count - newPBEParameterSpec(byte[], int) - Static method in class io.github.astrapi69.crypt.data.factory.AlgorithmParameterSpecFactory
-
Factory method for creating a new
PBEParameterSpec
from the given salt and iteration count. - newPins(List<LocalDate>, List<String>) - Static method in class io.github.astrapi69.crypt.data.factory.PinFactory
-
Creates a new list of pins formatted from the provided local dates and date patterns
- newSecretKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new symmetric
SecretKey
from the given algorithm and the given key length - newSecretKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKey
object from the given shared secret key as byte array and the given algorithm for the secret key - newSecretKey(char[], String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKey
from the given password and algorithm - newSecretKey(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new symmetric
SecretKey
from the given algorithm and the given key length - newSecretKeyFactory(String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKeyFactory
from the given algorithm - newSecretKeyFactory(String, String) - Static method in class io.github.astrapi69.crypt.data.factory.SecretKeyFactoryExtensions
-
Factory method for creating a new
SecretKeyFactory
from the given algorithm - newSecretKeySpec(byte[], int, int, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
SecretKeySpec
from the given algorithm and the given secret key as byte array - newSecretKeySpec(byte[], String) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
SecretKeySpec
from the given algorithm and the given secret key as byte array - newSecretKeySpec(String, int) - Static method in class io.github.astrapi69.crypt.data.factory.KeySpecFactory
-
Factory method for creating a new
SecretKeySpec
from the given algorithm and the given key length - newSharedSecret(SharedSecretInfo) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Factory method for creating a new shared
SecretKey
object from the givenSharedSecretInfo
- newSharedSecret(SharedSecretModel) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Factory method for creating a new shared
SecretKey
object from the given arguments - newSharedSecret(PrivateKey, PublicKey, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Factory method for creating a new shared secret byte array from the given arguments
- newSharedSecret(PrivateKey, PublicKey, String, String, boolean) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Factory method for creating a new shared secret byte array from the given arguments
- newSharedSecret(PrivateKey, PublicKey, String, String, String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Factory method for creating a new shared
SecretKey
object from the given arguments - newSharedSecret(PrivateKey, PublicKey, String, String, String, boolean) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Factory method for creating a new shared
SecretKey
object from the given arguments - newX509Certificate(CertificateInfo) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new
X509Certificate
object of X.509 from the givenCertificateInfo
- newX509Certificate(String, byte[]) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new
X509Certificate
from the given certificate type and certificate data as byte array. - newX509Certificate(PublicKey, PrivateKey, BigInteger, String, String, String, Date, Date) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating an initial new
X509Certificate
object of version 3 of type X.509 from the given parameters without an existing certificate. - newX509CertificateV1(KeyPair, X509CertificateV1Info) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new
X509Certificate
object of the first version of X.509 from the givenX509CertificateV1Info
object. - newX509CertificateV1(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new
X509Certificate
object of the first version of X.509 from the given parameters. - newX509CertificateV1(PrivateKey, PublicKey, X500Name, BigInteger, Date, Date, X500Name, String) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new
X509Certificate
object of the first version of X.509 from the given parameters. - newX509CertificateV3(CertificateV3Info) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the givenCertificateV3Info
that can be used as an end entity certificate. - newX509CertificateV3(KeyPair, X509CertificateV3Info) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the givenX509CertificateV3Info
that can be used as an end entity certificate. - newX509CertificateV3(KeyPair, X500Name, int, X500Name, String, Extension...) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters that can be used as an end entity certificate. - newX509CertificateV3(KeyPair, X500Name, BigInteger, Date, Date, X500Name, String, Extension...) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters - newX509CertificateV3(PrivateKey, PublicKey, X509CertificateV3Info) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the givenX509CertificateV3Info
that can be used as an end entity certificate. - newX509CertificateV3(PrivateKey, PublicKey, X500Name, BigInteger, Date, Date, X500Name, String, Extension...) - Static method in class io.github.astrapi69.crypt.data.factory.CertFactory
-
Factory method for creating a new intermediate
X509Certificate
object of version 3 of X.509 from the given parameters - newX509v1CertificateBuilder(X500Name, BigInteger, Date, Date, X500Name, PublicKey) - Static method in class io.github.astrapi69.crypt.data.factory.CertificateBuilderFactory
-
Factory method for creating a new
X509v1CertificateBuilder
object of version 1 of X.509 from the given parameters. - newX509v3CertificateBuilder(X500Name, BigInteger, Date, Date, X500Name, PublicKey) - Static method in class io.github.astrapi69.crypt.data.factory.CertificateBuilderFactory
-
Factory method for creating a new
X509v3CertificateBuilder
object of version 3 of X.509 from the given parameters. - newX509v3CertificateBuilder(X500Name, BigInteger, Date, Date, X500Name, SubjectPublicKeyInfo) - Static method in class io.github.astrapi69.crypt.data.factory.CertificateBuilderFactory
-
Factory method for creating a new
X509v3CertificateBuilder
object of version 3 of X.509 from the given parameters.
O
- ObfuscationBiMapRules<K,
V> - Class in io.github.astrapi69.crypt.data.obfuscation.rules -
The class
ObfuscationBiMapRules
decorates aBiMap
that defines rules for encrypt and decrypt given strings. - ObfuscationBiMapRules(BiMap<K, V>) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
-
Instantiates a new
ObfuscationBiMapRules
. - ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder<K,
V> - Class in io.github.astrapi69.crypt.data.obfuscation.rules -
The type Obfuscation bi map rules builder.
- ObfuscationOperationRule<C,
RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule -
The class
ObfuscationOperationRule
builds a complex rule for obfuscating a single character - ObfuscationOperationRule() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Instantiates a new
ObfuscationOperationRule
with no parameters - ObfuscationOperationRule(C, Set<Integer>, boolean, Optional<C>, Operation, RW) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Instantiates a new
ObfuscationOperationRule
with the specified parameters - ObfuscationOperationRule.ObfuscationOperationRuleBuilder<C,
RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule -
The builder class for
ObfuscationOperationRule
- ObfuscationOperationRuleComparator - Class in io.github.astrapi69.crypt.data.obfuscation.rule
-
The class
ObfuscationOperationRuleComparator
can compareObfuscationOperationRule
objects - ObfuscationOperationRuleComparator() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRuleComparator
- ObfuscationRule<C,
RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule -
The type Obfuscation rule.
- ObfuscationRule() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
Instantiates a new Obfuscation rule
- ObfuscationRule(C, RW) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
Instantiates a new Obfuscation rule
- ObfuscationRule.ObfuscationRuleBuilder<C,
RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rule -
The type Obfuscation rule builder
- obfuscationRules(BiMap<Character, Character>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules.CharacterObfuscationRulesBuilder
-
Obfuscation rules character obfuscation rules . character obfuscation rules builder.
- obfuscationRules(BiMap<K, V>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder
-
Obfuscation rules obfuscation bi map rules . obfuscation bi map rules builder.
- ObfuscationRules<C,
RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rules -
The class
ObfuscationRules
holds a list of obfuscation rules that will be processed with an Obfusactor implementation. - ObfuscationRules() - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
-
Instantiates a new Obfuscation rules.
- ObfuscationRules(List<ObfuscationRule<C, RW>>) - Constructor for class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
-
Instantiates a new Obfuscation rules.
- ObfuscationRules.ObfuscationRulesBuilder<C,
RW> - Class in io.github.astrapi69.crypt.data.obfuscation.rules -
The type Obfuscation rules builder.
- of(K) - Static method in class io.github.astrapi69.crypt.data.model.CryptModel
-
Factory method for create a new
CryptModel
from the given key - operatedCharacter(Optional<C>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
-
Sets the optional character that results from the operation
- operation(Operation) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
-
Sets the operation to be applied for obfuscation
P
- PemKeyInfo - Class in io.github.astrapi69.crypt.data.model
-
Data class representing a PEM-encoded key information.
- PemKeyInfo() - Constructor for class io.github.astrapi69.crypt.data.model.PemKeyInfo
- PemKeyModel - Class in io.github.astrapi69.crypt.data.model
-
Data class representing a PEM-encoded key model.
- PemKeyModel() - Constructor for class io.github.astrapi69.crypt.data.model.PemKeyModel
- PemObjectReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
PemObjectReader
is a utility class for readingPemObject
from a file - PinFactory - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
PinFactory
holds methods for creating lists of possible pins - PrivateKeyExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
PrivateKeyExtensions
provides utility methods for working withPrivateKey
objects - PrivateKeyReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
PrivateKeyReader
is a utility class for reading private keys in *.der or *.pem format - PrivateKeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
PrivateKeyWriter
is a utility class for write public keys in files or streams. - ProviderExtensions - Class in io.github.astrapi69.crypt.data.provider
-
The extension class
ProviderExtensions
provides algorithm for Provider information - ProviderExtensions() - Constructor for class io.github.astrapi69.crypt.data.provider.ProviderExtensions
- PublicKeyExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
PublicKeyExtensions
- PublicKeyReader - Class in io.github.astrapi69.crypt.data.key.reader
-
The class
PublicKeyReader
is a utility class for reading public keys. - PublicKeyWriter - Class in io.github.astrapi69.crypt.data.key.writer
-
The class
PublicKeyWriter
is a utility class for write public keys in files or streams.
R
- readCertificate(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Reads the given byte array and tries to create a
X509Certificate
object. - readCertificate(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Reads the given file in *.der format and tries to create a
X509Certificate
object. - readPasswordProtectedPrivateKey(byte[], String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Reads the given byte array that contains a password protected private key
- readPasswordProtectedPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Reads the given
File
that contains a password protected private key, if fails null will be returned - readPasswordProtectedPrivateKey(File, String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.EncryptedPrivateKeyReader
-
Reads from the given
File
that contains the password protected private key and returns it - readPemCertificate(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Read pem certificate.
- readPemFileAsBase64(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.CertificateReader
-
Read the certificate from a pem file as base64 encoded
String
value. - readPemFileAsBase64(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Read the private key from a pem file as base64 encoded
String
value - readPemFileAsBase64(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read the public key from a pem file as base64 encoded
String
value. - readPemKeyObject(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains a key in pem format - readPemPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains private key - readPemPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains a password protected private key - readPemPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
( in *.pem format) with the default RSA algorithm and returns thePrivateKey
object - readPemPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
( in *.pem format) with given algorithm and returns thePrivateKey
object - readPemPrivateKey(String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
String
( in *.pem format) with given algorithm and returns thePrivateKey
object with the default RSA algorithm - readPemPrivateKey(String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
String
( in *.pem format) with given algorithm and returns thePrivateKey
object - readPemPublicKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
reads a public key from a file with algorithm RSA
- readPemPublicKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
reads a public key from a file.
- readPrivateKey(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given byte array with the default RSA algorithm and returns the
PrivateKey
object - readPrivateKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given byte array with the given algorithm and returns the
PrivateKey
object - readPrivateKey(File, Algorithm) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Reads the given
File
( in *.pem format) that contains private key - readPrivateKey(KeyInfo) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
KeyInfo
object and returns thePrivateKey
object - readPrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
with the default RSA algorithm and returns thePrivateKey
object - readPrivateKey(File, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
File
( in *.der format) with the given algorithm and returns thePrivateKey
object - readPrivateKey(File, String, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Constructs from the given root, parent directory, and file name the file and reads the private key
- readPrivateKey(PemObject, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Reads the given
PemObject
with given algorithm and returns thePrivateKey
object - readPublicKey(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read public key.
- readPublicKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read public key.
- readPublicKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Read public key.
- readPublicKey(PemObject, String) - Static method in class io.github.astrapi69.crypt.data.key.reader.PublicKeyReader
-
Reads the given
PemObject
with given algorithm and returns thePublicKey
object - replaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
-
Sets the character(s) that will be replaced with
- replaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
-
Replace with obfuscation rule builder
- rule(ObfuscationRule<C, RW>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
-
Rule obfuscation rules . obfuscation rules builder.
- rules(Collection<? extends ObfuscationRule<C, RW>>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
-
Rules obfuscation rules . obfuscation rules builder.
- rulesBuilder() - Static method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
-
Rules builder character obfuscation rules builder.
S
- SecretKeyFactoryExtensions - Class in io.github.astrapi69.crypt.data.factory
-
The factory class
SecretKeyFactoryExtensions
holds methods for creatingSecretKeySpec
objects - setCharacter(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Sets the character to be obfuscated
- setCharacter(C) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
Sets character
- setData(String) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- setHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setIndexes(Set<Integer>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Sets the indexes where this rule will execute
- setInverted(boolean) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Sets if the character is inverted with replaceWith
- setKeyEntry(KeyStore, String, Key, char[], Certificate[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Assigns the given key to the given alias, protecting it with the given password
- setMerkleRoot(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setName(String) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- setOperatedCharacter(Optional<C>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Sets the optional character that results from the operation
- setOperation(Operation) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Sets the operation to be applied for obfuscation
- setPreviousBlockHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setPublicKey(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Address
- setReplaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Sets the character(s) that will be replaced with
- setReplaceWith(RW) - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
Sets replace with
- setRules(List<ObfuscationRule<C, RW>>) - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
-
Sets rules.
- setSenderHash(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setSignature(byte[]) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setText(String) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setTimestamp(long) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setTimestamp(long) - Method in class io.github.astrapi69.crypt.data.blockchain.Transaction
- setTransactions(List<ITransaction>) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- setTries(long) - Method in class io.github.astrapi69.crypt.data.blockchain.Block
- SharedSecretExtensions - Class in io.github.astrapi69.crypt.data.key
-
The class
SharedSecretExtensions
provides methods to convert betweenSharedSecretInfo
andSharedSecretModel
. - SharedSecretExtensions() - Constructor for class io.github.astrapi69.crypt.data.key.SharedSecretExtensions
- SharedSecretInfo - Class in io.github.astrapi69.crypt.data.model
-
Data class representing shared secret information used in cryptographic operations.
- SharedSecretInfo() - Constructor for class io.github.astrapi69.crypt.data.model.SharedSecretInfo
- SharedSecretModel - Class in io.github.astrapi69.crypt.data.model
-
The class
SharedSecretModel
represents a model for storing shared secret information. - SharedSecretModel() - Constructor for class io.github.astrapi69.crypt.data.model.SharedSecretModel
- SHORTCUT_COMMON_NAME - Static variable in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Shortcut for common name
- SHORTCUT_LOCATION - Static variable in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Shortcut for location
- SHORTCUT_ORGANISATION - Static variable in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Shortcut for organisation
- SHORTCUT_ORGANISATION_UNIT - Static variable in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Shortcut for organisation unit
- SHORTCUT_STATE - Static variable in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Shortcut for state
- SHOTCUT_COUNTRY_CODE - Static variable in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Shortcut for country code
- store(KeyStore, File, char[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Stores the given
KeyStore
object into the given keystore file - store(KeyStore, File, String) - Static method in class io.github.astrapi69.crypt.data.key.KeyStoreExtensions
-
Stores the given
KeyStore
object into the given keystore file
T
- toBase64(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Transform the given encoded key as byte array to a base64 encoded
String
value - toBase64(Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Transforms the given
Certificate
object to a base64String
object - toBase64(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a base64 encodedString
value - toBase64(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
- toBase64Binary(byte[]) - Static method in class io.github.astrapi69.crypt.data.key.KeyExtensions
-
Transform the given encoded key as byte array to a base64 binary encoded
String
value - toBase64Binary(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a base64 encodedString
value - toBuilder() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
-
Creates a builder from the current
ObfuscationOperationRule
- toBuilder() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
-
To builder obfuscation rule builder
- toBuilder() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
-
To builder obfuscation rules builder.
- toDer(PemObject) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Transform the given
PemObject
object in to a byte array in the der format - toDistinguishedNameInfo(String) - Static method in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Converts a representable string to a
DistinguishedNameInfo
object - toExtension(ExtensionInfo) - Static method in class io.github.astrapi69.crypt.data.model.ExtensionInfo
-
Converts an
ExtensionInfo
object to aExtension
object - toExtensions(ExtensionInfo[]) - Static method in class io.github.astrapi69.crypt.data.model.ExtensionInfo
-
Transforms an array of
ExtensionInfo
objects to an array ofExtension
objects - toHex(int) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given
int
to a hexadecimal value - toHex(Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Transforms the given
Certificate
object to a hexadecimalString
object - toHexString(byte[]) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given
byte array
to a hexadecimalString
value - toHexString(byte[], boolean) - Static method in class io.github.astrapi69.crypt.data.hex.HexExtensions
-
Transform the given
byte array
to a hexadecimalString
value - toHexString(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a hexadecimalString
value - toHexString(PrivateKey, boolean) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given
PrivateKey
to a hexadecimalString
value - toHexString(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
- toHexString(PublicKey, boolean) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
- toInfo(SharedSecretModel) - Static method in class io.github.astrapi69.crypt.data.key.SharedSecretExtensions
-
Converts a
SharedSecretModel
object to aSharedSecretInfo
object. - toKeyInfo(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.KeyInfoExtensions
-
Transforms the given
Certificate
object to aKeyInfo
object - toKeyInfo(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.KeyInfoExtensions
-
Transforms the given
PrivateKey
object to aKeyInfo
object - toKeyInfo(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.KeyInfoExtensions
- toKeyModel(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.KeyModelExtensions
-
Transforms the given
Certificate
object to aKeyModel
object - toKeyModel(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.KeyModelExtensions
-
Transforms the given
PrivateKey
object to aKeyModel
object - toKeyModel(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.KeyModelExtensions
- toKeyPair(KeyPairInfo) - Static method in class io.github.astrapi69.crypt.data.model.KeyPairInfo
-
Factory method to create a new
KeyPair
object from the givenKeyPairInfo
object. - toKeyPairInfo(KeyPair) - Static method in class io.github.astrapi69.crypt.data.model.KeyPairInfo
-
Factory method to create a new
KeyPairInfo
object from the givenKeyPair
object. - toKeyStore(KeyStoreInfo) - Static method in class io.github.astrapi69.crypt.data.model.KeyStoreInfo
-
Factory method to create a new empty
KeyStore
object from the givenKeyStoreInfo
object. - toModel(SharedSecretInfo) - Static method in class io.github.astrapi69.crypt.data.key.SharedSecretExtensions
-
Converts a
SharedSecretInfo
object to aSharedSecretModel
object. - toPemFile(PublicKey, File) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
- toPemFormat(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
- toPemFormat(PemObject) - Static method in class io.github.astrapi69.crypt.data.key.reader.PemObjectReader
-
Transform the given
PemObject
object in pem formatString
object - toPemFormat(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given private key that is in PKCS1 format and returns a
String
object in pem format - toPemFormat(PublicKey) - Static method in class io.github.astrapi69.crypt.data.key.PublicKeyExtensions
-
Transform the public key to pem format
- toPKCS1Format(PrivateKey) - Static method in class io.github.astrapi69.crypt.data.key.PrivateKeyExtensions
-
Transform the given private key to PKCS#1 format and returns it as a byte array
- toPrivateKey(KeyInfo) - Static method in class io.github.astrapi69.crypt.data.key.KeyInfoExtensions
-
Reads the given byte array with the given algorithm and returns the
PrivateKey
object - toPrivateKey(KeyModel) - Static method in class io.github.astrapi69.crypt.data.key.KeyModelExtensions
-
Reads the given byte array with the given algorithm and returns the
PrivateKey
object. - toPublicKey(KeyInfo) - Static method in class io.github.astrapi69.crypt.data.key.KeyInfoExtensions
-
Reads the given byte array with the given algorithm and returns the
PublicKey
object - toPublicKey(KeyModel) - Static method in class io.github.astrapi69.crypt.data.key.KeyModelExtensions
-
Reads the given byte array with the given algorithm and returns the
PrivateKey
object. - toRepresentableString() - Method in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Converts this
DistinguishedNameInfo
object to a representable string - toRepresentableString(DistinguishedNameInfo) - Static method in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Converts the
DistinguishedNameInfo
object to a representable string - toSecretKey(byte[], String) - Static method in class io.github.astrapi69.crypt.data.factory.KeyAgreementFactory
-
Creates a
SecretKey
object from the given byte array that is generated from aKeyAgreement
object and the given algorithm - toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.CharacterObfuscationOperationRule
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule.ObfuscationOperationRuleBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationOperationRule
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule.ObfuscationRuleBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rule.ObfuscationRule
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules.CharacterObfuscationRulesBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.CharacterObfuscationRules
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules.ObfuscationBiMapRulesBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationBiMapRules
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules.ObfuscationRulesBuilder
- toString() - Method in class io.github.astrapi69.crypt.data.obfuscation.rules.ObfuscationRules
- toX500Name() - Method in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Converts this
DistinguishedNameInfo
object to aX500Name
object - toX500Name(DistinguishedNameInfo) - Static method in class io.github.astrapi69.crypt.data.model.DistinguishedNameInfo
-
Converts the
DistinguishedNameInfo
object to aX500Name
object - toX509Certificate(KeyInfo) - Static method in class io.github.astrapi69.crypt.data.key.KeyInfoExtensions
-
Reads the given byte array with the given algorithm and returns the
X509Certificate
object - toX509Certificate(KeyModel) - Static method in class io.github.astrapi69.crypt.data.key.KeyModelExtensions
-
Reads the given byte array with the given algorithm and returns the
PrivateKey
object. - toX509CertificateV3Info(X509Certificate) - Static method in class io.github.astrapi69.crypt.data.key.CertificateExtensions
-
Converts the given
X509Certificate
object to anX509CertificateV3Info
object - Transaction - Class in io.github.astrapi69.crypt.data.blockchain
-
The class
Transaction
represents a transaction in a blockchain. - Transaction() - Constructor for class io.github.astrapi69.crypt.data.blockchain.Transaction
-
Instantiates a new
Transaction
with no parameters. - Transaction(String, byte[], byte[]) - Constructor for class io.github.astrapi69.crypt.data.blockchain.Transaction
-
Instantiates a new
Transaction
with the specified text, sender hash, and signature.
V
- validatePrivateKey(File) - Static method in class io.github.astrapi69.crypt.data.key.reader.PrivateKeyReader
-
Checks if the given
File
is a valid private key file - Validity - Class in io.github.astrapi69.crypt.data.model
-
Data class representing the validity period with start and end times.
- Validity() - Constructor for class io.github.astrapi69.crypt.data.model.Validity
W
- write(X509Certificate, File, KeyFileFormat) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
- write(X509Certificate, OutputStream, KeyFileFormat) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
- write(PrivateKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenFile
in the *.der format. - write(PrivateKey, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenOutputStream
in the *.der format. - write(PrivateKey, OutputStream, KeyFileFormat, KeyFormat) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenOutputStream
in the given formats. - write(PublicKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PublicKeyWriter
- write(PublicKey, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.PublicKeyWriter
-
Write the given
PublicKey
into the givenOutputStream
. - writeInDerFormat(X509Certificate, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenFile
in the *.der format. - writeInDerFormat(X509Certificate, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenOutputStream
in the *.pem format. - writeInPemFormat(X509Certificate, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenFile
in the *.pem format. - writeInPemFormat(X509Certificate, OutputStream) - Static method in class io.github.astrapi69.crypt.data.key.writer.CertificateWriter
-
Write the given
X509Certificate
into the givenOutputStream
in the *.pem format. - writeInPemFormat(Key, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.KeyWriter
- writeInPemFormat(PrivateKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PrivateKeyWriter
-
Write the given
PrivateKey
into the givenFile
. - writeInPemFormat(PublicKey, File) - Static method in class io.github.astrapi69.crypt.data.key.writer.PublicKeyWriter
X
- X509CertificateV1Info - Class in io.github.astrapi69.crypt.data.model
-
The class
X509CertificateV1Info
represents the information for an X.509 V1 certificate. - X509CertificateV1Info() - Constructor for class io.github.astrapi69.crypt.data.model.X509CertificateV1Info
- X509CertificateV3Info - Class in io.github.astrapi69.crypt.data.model
-
The class
X509CertificateV3Info
represents the information for an X.509 V3 certificate. - X509CertificateV3Info() - Constructor for class io.github.astrapi69.crypt.data.model.X509CertificateV3Info
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form