public class CryptoConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTOR_CONFIGURATION
Represents the descriptor file in Commons configuration format.
|
static java.lang.String |
DESCRIPTOR_PROPERTIES
Represents the descriptor file in Java Properties format.
|
static java.lang.String |
DESCRIPTOR_XML
Represents the descriptor file in XML format.
|
static int |
ENCRYPTION_FORMAT_AES
Represents the AES format (both ASCII-armor and binary).
|
static int |
ENCRYPTION_FORMAT_PGP
Represents the PGP format (both ASCII-armor and binary).
|
static int |
ENCRYPTION_FORMAT_ZIP
Represents the ZIP format.
|
static int |
FORMAT_BASE64
Represents the Base64 format (ASCII-armor).
|
static int |
FORMAT_PGP_ARMOR
Represents the PGP format (ASCII-armor).
|
static int |
FORMAT_UNKNOWN
Represents the unknown format.
|
static java.net.URL |
ICON_DECRYPT
Represents decryption.
|
static java.net.URL |
ICON_ENCRYPT
Represents encryption.
|
static java.net.URL |
ICON_PASSPHRASE
Represents a key.
|
static java.net.URL |
ICON_SIGN
Represents signing.
|
static java.net.URL |
ICON_SINGLE_KEY
Represents a key.
|
static java.net.URL |
ICON_VERIFY
Represents verification
|
static java.lang.String |
OBFUSCATE_RANDOM_FILE
Represents the random file password obfuscation.
|
Constructor and Description |
---|
CryptoConstants()
Constructor method for i18n purposes only.
|
Modifier and Type | Method and Description |
---|---|
static ComboBoxItem[] |
getDescriptorFormats()
Provides the list of possible file formats to be used for the descriptors.
|
static javax.swing.ImageIcon |
getIcon(java.net.URL url)
Convenience method to get icons.
|
static ComboBoxItem[] |
getKeyAlgorithms()
Provides the list of possible algorithms (RSA, ELGAMAL etc.) to be used for PGP keys.
|
static ComboBoxItem[] |
getPasswordObfuscateAlgos()
Provides the list of possible ciphers (DSA, RSA etc.) to be used for PGP main keys.
|
public static final java.lang.String OBFUSCATE_RANDOM_FILE
public static final java.lang.String DESCRIPTOR_PROPERTIES
public static final java.lang.String DESCRIPTOR_CONFIGURATION
public static final java.lang.String DESCRIPTOR_XML
public static final int FORMAT_UNKNOWN
public static final int FORMAT_PGP_ARMOR
public static final int FORMAT_BASE64
public static final int ENCRYPTION_FORMAT_PGP
public static final int ENCRYPTION_FORMAT_AES
public static final int ENCRYPTION_FORMAT_ZIP
public static final java.net.URL ICON_SINGLE_KEY
public static final java.net.URL ICON_PASSPHRASE
public static final java.net.URL ICON_ENCRYPT
public static final java.net.URL ICON_SIGN
public static final java.net.URL ICON_DECRYPT
public static final java.net.URL ICON_VERIFY
public CryptoConstants() throws java.lang.InstantiationException
I18NExtractor
).
java.lang.InstantiationException
- Error indicationpublic static ComboBoxItem[] getPasswordObfuscateAlgos()
public static ComboBoxItem[] getKeyAlgorithms()
public static ComboBoxItem[] getDescriptorFormats()
public static javax.swing.ImageIcon getIcon(java.net.URL url)
url
- The classpath addressnull
java.lang.NullPointerException
- If a parameter is null
Copyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.