- CBC - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher mode CBC
- CFB - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher mode CFB
- CHAR_SEPARATOR - Static variable in class ru.rutoken.security.spec.OID
-
separator character between sequence of sub-identifiers.
- checkClear() - Static method in class ru.rutoken.security.Cleaner
-
check all objects was cleaned successfully
- Cipher - Class in ru.rutoken.crypto
-
user interface to Cipher, copied from javax.crypto.Cipher.
- Cipher(CipherInterface) - Constructor for class ru.rutoken.crypto.Cipher
-
ctor.
- CipherConst - Interface in ru.rutoken.crypto
-
A lot of cipher constants here.
- clean() - Method in class ru.rutoken.crypto.Cipher
-
clean all important content.
- clean() - Method in class ru.rutoken.crypto.KeyAgreement
-
clean all important content.
- clean() - Method in class ru.rutoken.crypto.KeyGenerator
-
clean all important content.
- clean() - Method in class ru.rutoken.crypto.Mac
-
clean all important content.
- clean() - Method in class ru.rutoken.jrt11.Config
-
clean all important content.
- clean() - Method in class ru.rutoken.jrt11.SessionFactory
-
clean all important content.
- clean() - Method in interface ru.rutoken.security.Cleanable
-
clean all important content.
- clean(Object) - Static method in class ru.rutoken.security.Cleaner
-
clean all important info from object
- clean() - Method in class ru.rutoken.security.KeyContainer
-
clean all important content.
- clean() - Method in class ru.rutoken.security.KeyPairGenerator
-
clean all important content.
- clean() - Method in class ru.rutoken.security.MessageDigest
-
clean all object content.
- clean() - Method in class ru.rutoken.security.SecureRandom
-
clean all important content.
- clean() - Method in class ru.rutoken.security.Signature
-
clean all important content.
- clean() - Method in class ru.rutoken.security.spec.ParamPin
-
clean all important content.
- clean() - Method in class ru.rutoken.security.spec.ParamRandom
-
clean all important content.
- clean() - Method in class ru.rutoken.security.spec.ParamString
-
clean all important content.
- Cleanable - Interface in ru.rutoken.security
-
interface to all cryptography objects, that can clean content, such as keys.
- cleanByteArray - Static variable in class ru.rutoken.security.Cleaner
-
- cleanDefault() - Static method in class ru.rutoken.jrt11.Config
-
clean default config in system properties
- Cleaner - Class in ru.rutoken.security
-
cleaner of all security important objects.
- Cleaner.CleanPrivateKey - Class in ru.rutoken.security
-
SecretKey to clean SPI
- Cleaner.CleanSecretKey - Class in ru.rutoken.security
-
SecretKey to clean SPI
- Cleaner.ParamClean - Class in ru.rutoken.security
-
parameter to clean SPI
- clone() - Method in class ru.rutoken.crypto.Mac
-
- clone() - Method in class ru.rutoken.security.MessageDigest
-
Returns a clone if the implementation is cloneable.
- clone() - Method in class ru.rutoken.security.Signature
-
Returns a clone if the implementation is cloneable.
- clone() - Method in class ru.rutoken.security.spec.OID
-
Creates and returns a copy of this object.
- closeAll() - Static method in class ru.rutoken.jrt11.SessionFactory
-
close all sessions.
- CNT - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher mode CNT
- Config - Class in ru.rutoken.jrt11
-
Config can be set as parameter for Context.
- Config() - Constructor for class ru.rutoken.jrt11.Config
-
default empty ctor.
- Config(String, String, String) - Constructor for class ru.rutoken.jrt11.Config
-
ctor.
- Config(String) - Constructor for class ru.rutoken.jrt11.Config
-
ctor. load config from file.
- Config(File) - Constructor for class ru.rutoken.jrt11.Config
-
ctor. load config from file.
- Config(InputStream) - Constructor for class ru.rutoken.jrt11.Config
-
ctor. load config from stream.
- Const - Interface in ru.rutoken.jrt11
-
Package constants.
- CRYPTOPRO_A - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Id for parameter "1.2.643.2.2.31.1".
- CRYPTOPRO_A - Static variable in class ru.rutoken.security.spec.gost.DigestParamFactory
-
Id for parameter "1.2.643.2.2.30.1".
- CRYPTOPRO_A - Static variable in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
Id for parameter "1.2.643.2.2.35.1".
- CRYPTOPRO_B - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Id for parameter "1.2.643.2.2.31.2".
- CRYPTOPRO_B - Static variable in class ru.rutoken.security.spec.gost.DigestParamFactory
-
Id for parameter "1.2.643.2.2.30.2".
- CRYPTOPRO_B - Static variable in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
Id for parameter "1.2.643.2.2.35.2".
- CRYPTOPRO_C - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Id for parameter "1.2.643.2.2.31.3".
- CRYPTOPRO_C - Static variable in class ru.rutoken.security.spec.gost.DigestParamFactory
-
Id for parameter "1.2.643.2.2.30.4".
- CRYPTOPRO_C - Static variable in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
Id for parameter "1.2.643.2.2.35.3".
- CRYPTOPRO_D - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Id for parameter "1.2.643.2.2.31.4".
- CRYPTOPRO_D - Static variable in class ru.rutoken.security.spec.gost.DigestParamFactory
-
Id for parameter "1.2.643.2.2.30.4".
- CRYPTOPRO_OSCAR_1_0 - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Id for parameter "1.2.643.2.2.31.6".
- CRYPTOPRO_OSCAR_1_1 - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Id for parameter "1.2.643.2.2.31.5".
- CRYPTOPRO_RIC_1 - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Id for parameter "1.2.643.2.2.31.7".
- CRYPTOPRO_XCHA - Static variable in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
Id for parameter "1.2.643.2.2.36.0".
- CRYPTOPRO_XCHB - Static variable in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
Id for parameter "1.2.643.2.2.36.1".
- CryptParamFactory - Class in ru.rutoken.security.spec.gost
-
cipher parameter factory for algorithm GOST 28147-89.
- CryptParamInterface - Interface in ru.rutoken.security.spec.gost
-
Interface to cipher parameter for algorithm GOST 28147-89.
- decode(byte[], int) - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
get parameter by asn1 encoded oid.
- decode(byte[], int) - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
get parameter by asn1 encoded oid.
- decode(byte[], int) - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
get parameter by asn1 encoded oid.
- decode(byte[], int) - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
get parameter by asn1 encoded oid.
- DECRYPT_MODE - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to initialize cipher to decryption mode.
- DEFAULT - Static variable in class ru.rutoken.security.spec.gost.CryptParamFactory
-
default parameter index CRYPTOPRO_A.
- DEFAULT - Static variable in class ru.rutoken.security.spec.gost.DigestParamFactory
-
default parameter index CRYPTOPRO_A.
- DEFAULT - Static variable in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
default parameter index CRYPTOPRO_A.
- DEFAULT - Static variable in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
default parameter index CRYPTOPRO_A.
- DEFAULT_STRING_LENGTH - Static variable in class ru.rutoken.security.spec.OID
-
approximate length of string representation, for example "1.2.643.2.2.19"
- digest() - Method in class ru.rutoken.security.MessageDigest
-
Completes the hash computation by performing final operations
such as padding.
- digest(byte[]) - Method in class ru.rutoken.security.MessageDigest
-
Performs a final update on the digest using the specified array
of bytes, then completes the digest computation.
- digest(byte[], int, int) - Method in class ru.rutoken.security.MessageDigest
-
Completes the hash computation by performing final operations.
- digestAlgorithm - Variable in class ru.rutoken.security.Signature
-
Message digest algorithm name.
- digestBuffer(String, byte[], AlgorithmParameterSpec) - Static method in class ru.rutoken.security.MessageDigest
-
Helper.
- digestBuffer(String, byte[], int, int, AlgorithmParameterSpec) - Static method in class ru.rutoken.security.MessageDigest
-
Helper.
- digestFile(String, File) - Static method in class ru.rutoken.security.MessageDigest
-
Helper. read and hash file.
- DigestParamFactory - Class in ru.rutoken.security.spec.gost
-
message digest parameter factory for algorithm GOST 3411.
- DigestParamInterface - Interface in ru.rutoken.security.spec.gost
-
Interface to message digest parameter for algorithm GOST 34.11-94.
- doFinal() - Method in class ru.rutoken.crypto.Cipher
-
Finishes a multiple-part encryption or decryption operation
- doFinal(byte[], int) - Method in class ru.rutoken.crypto.Cipher
-
Finishes a multiple-part encryption or decryption operation
- doFinal(byte[]) - Method in class ru.rutoken.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int) - Method in class ru.rutoken.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[]) - Method in class ru.rutoken.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[], int) - Method in class ru.rutoken.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(ByteBuffer, ByteBuffer) - Method in class ru.rutoken.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal() - Method in class ru.rutoken.crypto.Mac
-
Finishes the MAC operation.
- doFinal(byte[], int) - Method in class ru.rutoken.crypto.Mac
-
Finishes the MAC operation.
- doFinal(byte[]) - Method in class ru.rutoken.crypto.Mac
-
Processes the given array of bytes and finishes the MAC operation.
- doPhase(Key, boolean) - Method in class ru.rutoken.crypto.KeyAgreement
-
Executes the next phase of this key agreement with the given key
that was received from one of the other parties involved in this key agreement.
- generateKey() - Method in class ru.rutoken.crypto.KeyGenerator
-
Key generation.
- generateKeyPair() - Method in class ru.rutoken.security.KeyPairGenerator
-
Generates a key pair.
- generateSecret() - Method in class ru.rutoken.crypto.KeyAgreement
-
Unsupported operation, pure secret key as byte[] forbidden.
- generateSecret(byte[], int) - Method in class ru.rutoken.crypto.KeyAgreement
-
Unsupported operation, pure secret key as byte[] forbidden.
- generateSecret(String) - Method in class ru.rutoken.crypto.KeyAgreement
-
Creates the shared secret and returns it as a SecretKey
object of the specified algorithm.
- generateSeed(int) - Method in class ru.rutoken.security.SecureRandom
-
Returns the given number of seed bytes.
- getA() - Method in class ru.rutoken.security.spec.EllipticCurve
-
get 'a' coefficient of elliptic curve
- getAlgorithm() - Method in class ru.rutoken.crypto.Cipher
-
get algorithm name.
- getAlgorithm() - Method in class ru.rutoken.crypto.KeyAgreement
-
Returns the algorithm name of this KeyAgreement
object.
- getAlgorithm() - Method in class ru.rutoken.crypto.KeyGenerator
-
get algorithm name.
- getAlgorithm() - Method in class ru.rutoken.crypto.Mac
-
get algorithm name.
- getAlgorithm() - Method in class ru.rutoken.security.Cleaner.CleanPrivateKey
-
Returns the standard algorithm name for this key.
- getAlgorithm() - Method in class ru.rutoken.security.Cleaner.CleanSecretKey
-
Returns the standard algorithm name for this key.
- getAlgorithm() - Method in class ru.rutoken.security.KeyPairGenerator
-
Get algorithm name.
- getAlgorithm() - Method in class ru.rutoken.security.MessageDigest
-
get algorithm name.
- getAlgorithm() - Method in class ru.rutoken.security.SecureRandom
-
get algorithm name
- getAlgorithm() - Method in class ru.rutoken.security.Signature
-
Returns the name of the algorithm for this signature object.
- getAlias() - Method in class ru.rutoken.security.spec.ParamAlias
-
- getAmount() - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
get amount of all available parameters.
- getAmount() - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
get amount of all available parameters.
- getAmount() - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
get amount of all available parameters.
- getAmount() - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
get amount of all available parameters.
- getB() - Method in class ru.rutoken.security.spec.EllipticCurve
-
get 'b' coefficient of elliptic curve
- getBlockSize() - Method in class ru.rutoken.crypto.Cipher
-
Returns the block size (in bytes).
- getCertificate() - Method in class ru.rutoken.security.KeyContainer
-
get certificate if set or first chain element
- getChain() - Method in class ru.rutoken.security.KeyContainer
-
get chain or create it from certificate
- getChars() - Method in class ru.rutoken.security.spec.ParamString
-
- getContext() - Method in class ru.rutoken.jrt11.SessionFactory
-
get PKCS#11 context.
- getCurve() - Method in interface ru.rutoken.security.spec.gost.EllipticParamInterface
-
get elliptic curve.
- getDefaultLibrary() - Static method in class ru.rutoken.jrt11.Config
-
get library file name from system property or from system predefined path
- getDefaultPin() - Static method in class ru.rutoken.jrt11.Config
-
get token pin from system property
- getDefaultSerial() - Static method in class ru.rutoken.jrt11.Config
-
get token serial from system property
- getDigestLength() - Method in class ru.rutoken.security.MessageDigest
-
get hash function value length in bytes
- getEncoded() - Method in class ru.rutoken.security.Cleaner.CleanPrivateKey
-
Returns the key in its primary encoding format, or null if this key does not support encoding.
- getEncoded() - Method in class ru.rutoken.security.Cleaner.CleanSecretKey
-
Returns the key in its primary encoding format, or null if this key does not support encoding.
- getEncodedOID() - Method in interface ru.rutoken.security.spec.gost.CryptParamInterface
-
get ASN1 encoded OID.
- getEncodedOID() - Method in interface ru.rutoken.security.spec.gost.EllipticParamInterface
-
get ASN1 encoded OID.
- getEnumeration() - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Get Enumeration of all available parameters
- getEnumeration() - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
Get Enumeration of all available parameters
- getEnumeration() - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
Get Enumeration of all available parameters
- getEnumeration() - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
Get Enumeration of all available parameters
- getExemptionMechanism() - Method in class ru.rutoken.crypto.Cipher
-
Returns the exemption mechanism object used with this cipher.
- getFormat() - Method in class ru.rutoken.security.Cleaner.CleanPrivateKey
-
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
- getFormat() - Method in class ru.rutoken.security.Cleaner.CleanSecretKey
-
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
- getId() - Method in class ru.rutoken.security.spec.ParamID
-
- getInstance(String) - Static method in class ru.rutoken.crypto.Cipher
-
Algorithm factory, create object by algorithm name.
- getInstance(String, String) - Static method in class ru.rutoken.crypto.Cipher
-
Algorithm factory, create object by algorithm name.
- getInstance(String, Provider) - Static method in class ru.rutoken.crypto.Cipher
-
Algorithm factory, create object by algorithm name.
- getInstance(String) - Static method in class ru.rutoken.crypto.KeyAgreement
-
Algorithm factory, create object by algorithm name.
- getInstance(String, String) - Static method in class ru.rutoken.crypto.KeyAgreement
-
Algorithm factory, create object by algorithm name.
- getInstance(String, Provider) - Static method in class ru.rutoken.crypto.KeyAgreement
-
Algorithm factory, create object by algorithm name.
- getInstance(String) - Static method in class ru.rutoken.crypto.KeyGenerator
-
Algorithm factory, create object by algorithm name.
- getInstance(String, String) - Static method in class ru.rutoken.crypto.KeyGenerator
-
Algorithm factory, create object by algorithm name.
- getInstance(String, Provider) - Static method in class ru.rutoken.crypto.KeyGenerator
-
Algorithm factory, create object by algorithm name.
- getInstance(String) - Static method in class ru.rutoken.crypto.Mac
-
Algorithm factory, create object by algorithm name.
- getInstance(String, String) - Static method in class ru.rutoken.crypto.Mac
-
Algorithm factory, create object by algorithm name.
- getInstance(String, Provider) - Static method in class ru.rutoken.crypto.Mac
-
Algorithm factory, create object by algorithm name.
- getInstance(String) - Static method in class ru.rutoken.security.KeyPairGenerator
-
Algorithm factory, create object by algorithm name.
- getInstance(String, String) - Static method in class ru.rutoken.security.KeyPairGenerator
-
Algorithm factory, create object by algorithm name.
- getInstance(String, Provider) - Static method in class ru.rutoken.security.KeyPairGenerator
-
Algorithm factory, create object by algorithm name.
- getInstance(String) - Static method in class ru.rutoken.security.MessageDigest
-
Algorithm factory, create object by algorithm name.
- getInstance(String, String) - Static method in class ru.rutoken.security.MessageDigest
-
Algorithm factory, create object by algorithm name.
- getInstance(String, Provider) - Static method in class ru.rutoken.security.MessageDigest
-
Algorithm factory, create object by algorithm name.
- getInstance(String) - Static method in class ru.rutoken.security.SecureRandom
-
Algorithm factory, create object by algorithm name.
- getInstance(String, String) - Static method in class ru.rutoken.security.SecureRandom
-
Algorithm factory, create object by algorithm name.
- getInstance(String, Provider) - Static method in class ru.rutoken.security.SecureRandom
-
Algorithm factory, create object by algorithm name.
- getInstance(String) - Static method in class ru.rutoken.security.Signature
-
Algorithm factory, create object by algorithm name that implements the specified algorithm.
- getInstance(String, String) - Static method in class ru.rutoken.security.Signature
-
Algorithm factory, create object by algorithm name that implements the specified algorithm.
- getInstance(String, Provider) - Static method in class ru.rutoken.security.Signature
-
Algorithm factory, create object by algorithm name that implements the specified algorithm.
- getInstance() - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
get default parameter.
- getInstance(int) - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
get parameter by index.
- getInstance(OID) - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
get parameter by OID.
- getInstance(String) - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
get parameter by oid string.
- getInstance() - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
get default parameter.
- getInstance(int) - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
get parameter by index.
- getInstance(OID) - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
get parameter by OID.
- getInstance(String) - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
get parameter by oid string.
- getInstance() - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
get default parameter.
- getInstance(int) - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
get parameter by index.
- getInstance(OID) - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
get parameter by OID.
- getInstance(String) - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
get parameter by oid string.
- getInstance() - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
get default parameter.
- getInstance(int) - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
get parameter by index.
- getInstance(OID) - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
get parameter by OID.
- getInstance(String) - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
get parameter by oid string.
- getInt(char[], int, int) - Static method in class ru.rutoken.security.spec.OID
-
- getIterator() - Static method in class ru.rutoken.security.spec.gost.CryptParamFactory
-
Get Iterator of all available parameters
- getIterator() - Static method in class ru.rutoken.security.spec.gost.DigestParamFactory
-
Get Iterator of all available parameters
- getIterator() - Static method in class ru.rutoken.security.spec.gost.EllipticParamFactory
-
Get Iterator of all available parameters
- getIterator() - Static method in class ru.rutoken.security.spec.gost.ExchangeParamFactory
-
Get Iterator of all available parameters
- getIV() - Method in class ru.rutoken.crypto.Cipher
-
Returns the initialization vector (IV) in a new buffer.
- getKeyPair() - Method in class ru.rutoken.security.KeyContainer
-
- getKeySize() - Method in class ru.rutoken.security.spec.ParamKeySize
-
getter.
- getKMT() - Method in interface ru.rutoken.security.spec.gost.CryptParamInterface
-
Extended commutator as used in implementation. 4K
- getLibrary() - Method in class ru.rutoken.jrt11.Config
-
get library path. if it not set in config, try to find in system.
- getMacLength() - Method in class ru.rutoken.crypto.Mac
-
returns mac value length in bytes.
- getMaxAllowedKeyLength(String) - Static method in class ru.rutoken.crypto.Cipher
-
Returns the maximum key length for the specified transformation
according to the installed JCE jurisdiction policy files.
- getMaxAllowedParameterSpec(String) - Static method in class ru.rutoken.crypto.Cipher
-
Returns an AlgorithmParameterSpec object which contains
the maximum cipher parameter value according to the
jurisdiction policy file.
- getMode(String) - Static method in class ru.rutoken.crypto.Cipher
-
- getMode(int) - Static method in class ru.rutoken.crypto.Cipher
-
- getOID() - Method in interface ru.rutoken.security.spec.gost.CryptParamInterface
-
get OID.
- getOID() - Method in interface ru.rutoken.security.spec.gost.EllipticParamInterface
-
get OID.
- getOutputSize(int) - Method in class ru.rutoken.crypto.Cipher
-
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next
update
or doFinal
operation
- getP() - Method in class ru.rutoken.security.spec.EllipticCurve
-
get 'p' coefficient of elliptic curve
- getP() - Method in interface ru.rutoken.security.spec.gost.EllipticParamInterface
-
get P - elliptic curve modulus.
- getPadding(String) - Static method in class ru.rutoken.crypto.Cipher
-
- getPadding(int) - Static method in class ru.rutoken.crypto.Cipher
-
- getParam(String) - Static method in class ru.rutoken.security.KeyPairGenerator
-
create parameter by oid
- getParameter() - Method in class ru.rutoken.security.MessageDigest
-
get algorithm parameter.
- getParameter(String) - Method in class ru.rutoken.security.Signature
-
Deprecated.
- getParameters() - Method in class ru.rutoken.crypto.Cipher
-
Returns the parameters used with this cipher.
- getParameters() - Method in class ru.rutoken.security.Signature
-
Returns the parameters used with this signature object.
- getPin() - Method in class ru.rutoken.jrt11.Config
-
return token pin.
- getPin() - Method in class ru.rutoken.security.spec.ParamPin
-
- getPrivateKey() - Method in class ru.rutoken.security.KeyContainer
-
- getProcessedLength() - Method in class ru.rutoken.security.MessageDigest
-
Get total amount of processed bytes from reset().
- getProvider() - Method in class ru.rutoken.crypto.Cipher
-
unused.
- getProvider() - Method in class ru.rutoken.crypto.KeyAgreement
-
Returns the provider of this KeyAgreement
object.
- getProvider() - Method in class ru.rutoken.crypto.KeyGenerator
-
unused.
- getProvider() - Method in class ru.rutoken.crypto.Mac
-
unused.
- getProvider() - Method in class ru.rutoken.security.KeyPairGenerator
-
Returns the provider of this object.
- getProvider() - Method in class ru.rutoken.security.MessageDigest
-
Returns the provider of this object.
- getProvider() - Method in class ru.rutoken.security.SecureRandom
-
Returns the provider of this object.
- getProvider() - Method in class ru.rutoken.security.Signature
-
Returns the provider of this object.
- getPublicKey() - Method in class ru.rutoken.security.KeyContainer
-
get public key set with key pair or from certificate.
- getQ() - Method in interface ru.rutoken.security.spec.gost.EllipticParamInterface
-
get Q - order of cyclic group.
- getRandom() - Method in class ru.rutoken.security.spec.ParamRandom
-
- getSeed(int) - Method in class ru.rutoken.security.SecureRandom
-
Returns the given number of seed bytes.
- getSerial() - Method in class ru.rutoken.jrt11.Config
-
return token serial number in valid form.
- getSession() - Method in class ru.rutoken.jrt11.SessionFactory
-
get session from token of from default source.
- getString() - Method in class ru.rutoken.security.spec.ParamString
-
- getSubstitution() - Method in interface ru.rutoken.security.spec.gost.CryptParamInterface
-
Substitution as described in gost, 64 bytes.
- getSystemLibrary() - Static method in class ru.rutoken.jrt11.Config
-
Find PKCS#11 library path in system default path.
- getToken() - Method in class ru.rutoken.jrt11.SessionFactory
-
get PKCS#11 context.
- getTransformation(String) - Static method in class ru.rutoken.crypto.Cipher
-
- GOST_CIPHER_ALGORITHM - Static variable in interface ru.rutoken.jrt11.Const
-
Encryption algorithm name, accordingly mac, keys, key generator etc.
- GOST_DIGEST_ALGORITHM - Static variable in interface ru.rutoken.jrt11.Const
-
message digest algorithm name.
- GOST_HMAC_ALGORITHM - Static variable in interface ru.rutoken.jrt11.Const
-
HMAC algorithm name.
- GOST_KEY_ALGORITHM - Static variable in interface ru.rutoken.jrt11.Const
-
keys algorithm name, accordingly key generator, signature (without message digest) etc.
- GOST_SIGNATURE_ALGORITHM - Static variable in interface ru.rutoken.jrt11.Const
-
Joined named signature name with digest.
- init(int, Key) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with a key.
- init(int, Key, SecureRandom) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with a key and a source of randomness.
- init(int, Key, AlgorithmParameterSpec) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with a key and a set of algorithm parameters.
- init(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
- init(int, Key, AlgorithmParameters) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with a key and a set of algorithm parameters.
- init(int, Key, AlgorithmParameters, SecureRandom) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
- init(int, Certificate) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with the public key from the given certificate.
- init(int, Certificate, SecureRandom) - Method in class ru.rutoken.crypto.Cipher
-
Initializes this cipher with the public key from the given certificate and a source of randomness.
- init(Key) - Method in class ru.rutoken.crypto.KeyAgreement
-
Initializes this key agreement with the given key, which is required to
contain all the algorithm parameters required for this key agreement.
- init(Key, SecureRandom) - Method in class ru.rutoken.crypto.KeyAgreement
-
Initializes this key agreement with the given key and source of randomness.
- init(Key, AlgorithmParameterSpec) - Method in class ru.rutoken.crypto.KeyAgreement
-
Initializes this key agreement with the given key and set of algorithm parameters.
- init(Key, AlgorithmParameterSpec, SecureRandom) - Method in class ru.rutoken.crypto.KeyAgreement
-
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
- init(SecureRandom) - Method in class ru.rutoken.crypto.KeyGenerator
-
set random generator to key generator.
- init(AlgorithmParameterSpec) - Method in class ru.rutoken.crypto.KeyGenerator
-
Set algorithm parameter.
- init(AlgorithmParameterSpec, SecureRandom) - Method in class ru.rutoken.crypto.KeyGenerator
-
Set algorithm parameter and random generator.
- init(int) - Method in class ru.rutoken.crypto.KeyGenerator
-
Set key size to key generator.
- init(int, SecureRandom) - Method in class ru.rutoken.crypto.KeyGenerator
-
Set key size and random generator to key generator.
- init(Key) - Method in class ru.rutoken.crypto.Mac
-
Initializes this Mac object with the given key.
- init(Key, AlgorithmParameterSpec) - Method in class ru.rutoken.crypto.Mac
-
Initializes this Mac object with the given key and algorithm parameters.
- initialize(int) - Method in class ru.rutoken.security.KeyPairGenerator
-
Initializes the key pair generator for a certain keySize, using the default parameter set.
- initialize(int, SecureRandom) - Method in class ru.rutoken.security.KeyPairGenerator
-
Initializes the key pair generator for a certain keySize, using the default parameter set.
- initialize(AlgorithmParameterSpec) - Method in class ru.rutoken.security.KeyPairGenerator
-
Initializes the key pair generator using the specified parameter set.
- initialize(AlgorithmParameterSpec, SecureRandom) - Method in class ru.rutoken.security.KeyPairGenerator
-
Initializes the key pair generator using the specified parameter set and user-provided source of randomness.
- initSign(PrivateKey) - Method in class ru.rutoken.security.Signature
-
Initialize this object for signing.
- initSign(PrivateKey, SecureRandom) - Method in class ru.rutoken.security.Signature
-
Initialize this object for signing.
- initVerify(PublicKey) - Method in class ru.rutoken.security.Signature
-
Initializes this object for verification.
- initVerify(Certificate) - Method in class ru.rutoken.security.Signature
-
Initializes this object for verification.
- INSTANCE - Static variable in class ru.rutoken.security.Cleaner.CleanPrivateKey
-
instance of CleanPrivateKey
- INSTANCE - Static variable in class ru.rutoken.security.Cleaner.CleanSecretKey
-
instance of CleanSecretKey
- INSTANCE - Static variable in class ru.rutoken.security.Cleaner.ParamClean
-
instance of ParamClean.
- isEqual(byte[], byte[]) - Static method in class ru.rutoken.security.MessageDigest
-
Compares two digests for equality.
- isEquals(OID) - Method in class ru.rutoken.security.spec.OID
-
oid comparison.
- isEquals(int[]) - Method in class ru.rutoken.security.spec.OID
-
comparison with int array.
- isEquals(String) - Method in class ru.rutoken.security.spec.OID
-
comparison with string.
- PADDING_ANSI_X923 - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher used ANSI x923 padding (zero bytes fill, with the length at the end)
- PADDING_ISO1012 - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher used ISO 1012 padding (random bytes fill, with the length at the end)
- PADDING_NO - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher padding not used
- PADDING_PKCS5 - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher used pkcs5 padding (8-x) bytes filled by (8-x)
- PADDING_RANDOM - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher used random padding (random last (8-x) bytes)
- PADDING_ZERO - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to define cipher used zero padding (zeros last (8-x) bytes)
- PADDINGS - Static variable in interface ru.rutoken.crypto.CipherConst
-
available paddings strings
- ParamAlias - Class in ru.rutoken.security.spec
-
Algorithm parameter, which can can be used to set key Alias (name, label) to newly generated key pair, for instance.
- ParamAlias(String) - Constructor for class ru.rutoken.security.spec.ParamAlias
-
ctor.
- ParamID - Class in ru.rutoken.security.spec
-
Algorithm parameter, which can can be used to set unique key ID to newly generated key pair, for instance.
- ParamID(String) - Constructor for class ru.rutoken.security.spec.ParamID
-
ctor.
- ParamKeySize - Class in ru.rutoken.security.spec
-
key size algorithm parameter.
- ParamKeySize(int) - Constructor for class ru.rutoken.security.spec.ParamKeySize
-
ctor.
- ParamPin - Class in ru.rutoken.security.spec
-
Algorithm parameter, which can can be used to set token pin to some JSA object, KeyPairGenerator(), for instance.
- ParamPin(String) - Constructor for class ru.rutoken.security.spec.ParamPin
-
ctor.
- ParamPin(char[]) - Constructor for class ru.rutoken.security.spec.ParamPin
-
ctor.
- ParamRandom - Class in ru.rutoken.security.spec
-
Algorithm parameter, which can be used to set key SecureRandom to algorithm, key generator, for instance.
- ParamRandom(SecureRandom) - Constructor for class ru.rutoken.security.spec.ParamRandom
-
ctor.
- ParamString - Class in ru.rutoken.security.spec
-
String algorithm parameter.
- ParamString(String) - Constructor for class ru.rutoken.security.spec.ParamString
-
ctor.
- ParamString(char[]) - Constructor for class ru.rutoken.security.spec.ParamString
-
ctor.
- parse(String) - Static method in class ru.rutoken.security.spec.OID
-
parse strings such as "1.2.643.2.2.19" to int[]
- PIN - Static variable in class ru.rutoken.jrt11.Config
-
string key in config for token pin.
- PRIVATE_KEY - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to indicate the to-be-unwrapped key is a "private key".
- PROPERTY - Static variable in class ru.rutoken.jrt11.Config
-
Property name, set by System.setProperty()
- PROVIDER_INFO - Static variable in class ru.rutoken.jrt11.JRT11Provider
-
Additional provider information.
- PROVIDER_NAME - Static variable in class ru.rutoken.jrt11.JRT11Provider
-
Provider name.
- PROVIDER_VERSION - Static variable in class ru.rutoken.jrt11.JRT11Provider
-
Provider version.
- PUBLIC_KEY - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to indicate the to-be-unwrapped key is a "public key".
- save(String) - Method in class ru.rutoken.jrt11.Config
-
save to file.
- save(File) - Method in class ru.rutoken.jrt11.Config
-
save to file.
- save(OutputStream) - Method in class ru.rutoken.jrt11.Config
-
save to stream.
- SECRET_KEY - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to indicate the to-be-unwrapped key is a "secret key".
- SecureRandom - Class in ru.rutoken.security
-
Interface copied from java.security.SecureRandom.
- SecureRandom(RandomInterface) - Constructor for class ru.rutoken.security.SecureRandom
-
ctor.
- SEPARATOR - Static variable in class ru.rutoken.crypto.Cipher
-
Character, separating algorithm name, mode and padding
- SEPARATOR - Static variable in class ru.rutoken.crypto.KeyGenerator
-
Character, separating algorithm name and algorithm parameter
- SEPARATOR - Static variable in class ru.rutoken.crypto.Mac
-
Character, separating algorithm name and algorithm parameter
- SEPARATOR - Static variable in class ru.rutoken.jrt11.Config
-
separator between property and value in config file.
- SEPARATOR - Static variable in class ru.rutoken.security.KeyPairGenerator
-
Character to divide algorithm name and parameter
- SEPARATOR - Static variable in class ru.rutoken.security.MessageDigest
-
Character to divide algorithm name and parameter
- SERIAL - Static variable in class ru.rutoken.jrt11.Config
-
string key in config for token serial.
- SERIAL_LENGTH - Static variable in class ru.rutoken.jrt11.Config
-
Serial cut to SERIAL_LENGTH
chars or blank padded to SERIAL_LENGTH
chars.
- SessionFactory - Class in ru.rutoken.jrt11
-
Session factory.
- SessionFactory() - Constructor for class ru.rutoken.jrt11.SessionFactory
-
ctor.
- SessionFactory(AlgorithmParameterSpec) - Constructor for class ru.rutoken.jrt11.SessionFactory
-
ctor with initialisation.
- setCertificate(Certificate) - Method in class ru.rutoken.security.KeyContainer
-
- setChain(Certificate[]) - Method in class ru.rutoken.security.KeyContainer
-
- setDefault() - Method in class ru.rutoken.jrt11.Config
-
set config as default to system properties
- setDefaultLibrary(String) - Static method in class ru.rutoken.jrt11.Config
-
set library file name to system property
- setDefaultPin(String) - Static method in class ru.rutoken.jrt11.Config
-
set token pin to system property
- setDefaultSerial(String) - Static method in class ru.rutoken.jrt11.Config
-
set token serial from system property
- setKeyPair(KeyPair) - Method in class ru.rutoken.security.KeyContainer
-
- setLibrary(String) - Method in class ru.rutoken.jrt11.Config
-
- setParameter(AlgorithmParameterSpec) - Method in class ru.rutoken.jrt11.SessionFactory
-
Process parameter.
- setParameter(AlgorithmParameterSpec) - Method in class ru.rutoken.security.MessageDigest
-
get algorithm parameter.
- setParameter(String, Object) - Method in class ru.rutoken.security.Signature
-
- setParameter(AlgorithmParameterSpec) - Method in class ru.rutoken.security.Signature
-
Initializes this signature engine with the specified parameter set.
- setPin(String) - Method in class ru.rutoken.jrt11.Config
-
- setPrivateKey(PrivateKey) - Method in class ru.rutoken.security.KeyContainer
-
- setPublicKey(PublicKey) - Method in class ru.rutoken.security.KeyContainer
-
- setSeed(byte[]) - Method in class ru.rutoken.security.SecureRandom
-
Reseeds this random object.
- setSeed(long) - Method in class ru.rutoken.security.SecureRandom
-
Reseeds this random object.
- setSerial(String) - Method in class ru.rutoken.jrt11.Config
-
- setStartHash(int[]) - Method in interface ru.rutoken.security.spec.gost.DigestParamInterface
-
get start hash vector.
- SHA1_DIGEST_ALGORITHM - Static variable in interface ru.rutoken.jrt11.Const
-
message digest algorithm name.
- sign() - Method in class ru.rutoken.security.Signature
-
Returns the signature bytes of all the data updated.
- sign(byte[], int, int) - Method in class ru.rutoken.security.Signature
-
Finishes the signature operation and stores the resulting signature
bytes in the provided buffer outbuf
, starting at offset
.
- Signature - Class in ru.rutoken.security
-
Interface copied from java.security.Signature.
- Signature(String) - Constructor for class ru.rutoken.security.Signature
-
Creates a Signature object for the specified algorithm.
- SPLIT_POINT - Static variable in class ru.rutoken.security.spec.OID
-
string of "
- splitTransformation(String) - Static method in class ru.rutoken.crypto.Cipher
-
parse string like "rt11GOST28147/CFB/NO_PADDING" to algorithm/mode/padding
- STORE_ALGORITHM - Static variable in interface ru.rutoken.jrt11.Const
-
Key store name on ruToken.
- STR_SEPARATOR - Static variable in class ru.rutoken.crypto.Cipher
-
String, separating algorithm name, mode and padding
- STR_SEPARATOR - Static variable in class ru.rutoken.crypto.KeyGenerator
-
String, separating algorithm name and algorithm parameter
- STR_SEPARATOR - Static variable in class ru.rutoken.crypto.Mac
-
String, separating algorithm name and algorithm parameter
- STR_SEPARATOR - Static variable in class ru.rutoken.security.KeyPairGenerator
-
String to divide algorithm name and parameter
- STR_SEPARATOR - Static variable in class ru.rutoken.security.MessageDigest
-
String to divide algorithm name and parameter
- unwrap(byte[], String, int) - Method in class ru.rutoken.crypto.Cipher
-
Unwrap a previously wrapped key.
- UNWRAP_MODE - Static variable in interface ru.rutoken.crypto.CipherConst
-
Constant used to initialize cipher to key-unwrapping mode.
- update(byte[]) - Method in class ru.rutoken.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation, processing another data part.
- update(byte[], int, int) - Method in class ru.rutoken.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation, processing another data part.
- update(byte[], int, int, byte[]) - Method in class ru.rutoken.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation, processing another data part.
- update(byte[], int, int, byte[], int) - Method in class ru.rutoken.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation, processing another data part.
- update(ByteBuffer, ByteBuffer) - Method in class ru.rutoken.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation, processing another data part.
- update(byte) - Method in class ru.rutoken.crypto.Mac
-
Processes the given byte.
- update(byte[]) - Method in class ru.rutoken.crypto.Mac
-
Processes the given array of bytes.
- update(byte[], int, int) - Method in class ru.rutoken.crypto.Mac
-
Processes the first length bytes in bytes, starting at offset inclusive.
- update(ByteBuffer) - Method in class ru.rutoken.crypto.Mac
-
Processes input.remaining() bytes in the ByteBuffer input, starting at input.position().
- update(byte) - Method in class ru.rutoken.security.MessageDigest
-
Updates the digest using the specified byte.
- update(byte[]) - Method in class ru.rutoken.security.MessageDigest
-
Updates the digest using the specified array of bytes.
- update(byte[], int, int) - Method in class ru.rutoken.security.MessageDigest
-
Updates the digest using the specified array of bytes, starting at the specified offset.
- update(ByteBuffer) - Method in class ru.rutoken.security.MessageDigest
-
Update the digest using the specified ByteBuffer.
- update(byte) - Method in class ru.rutoken.security.Signature
-
Updates the data to be signed or verified by a byte.
- update(byte[]) - Method in class ru.rutoken.security.Signature
-
Updates the data to be signed or verified, using the specified array of bytes.
- update(byte[], int, int) - Method in class ru.rutoken.security.Signature
-
Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.
- update(ByteBuffer) - Method in class ru.rutoken.security.Signature
-
Updates the data to be signed or verified using the specified ByteBuffer.