RC2-CBCParameter ::= CHOICE {
iv IV,
params SEQUENCE {
version RC2Version,
iv IV
}
}
where
IV ::= OCTET STRING -- 8 octets
RC2Version ::= INTEGER -- 1-1024
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final int[] | |
| private byte[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[] | engineGetEncoded()
Implements abstract java. Returns the parameters in their primary encoding format. |
| protected byte[] | engineGetEncoded(String encodingMethod)
Implements abstract java. Returns the parameters encoded in the specified format. |
| protected <T extends AlgorithmParameterSpec> T | engineGetParameterSpec(Class<T> paramSpec)
Implements abstract java. Returns a (transparent) specification of this parameters object. |
| protected void | engineInit(AlgorithmParameterSpec paramSpec)
Implements abstract java. Initializes this parameters object using the parameters
specified in |
| protected void | engineInit(byte[] encoded)
Implements abstract java. Imports the specified parameters and decodes them according to the primary decoding format for parameters. |
| protected void | engineInit(byte[] encoded, String decodingMethod)
Implements abstract java. Imports the parameters from |
| protected String | engineToString()
Implements abstract java. Returns a formatted string describing the parameters. |
| effectiveKeySize | back to summary |
|---|---|
| private int effectiveKeySize | |
| EKB_TABLE | back to summary |
|---|---|
| private static final int[] EKB_TABLE | |
| iv | back to summary |
|---|---|
| private byte[] iv | |
| version | back to summary |
|---|---|
| private int version | |
| RC2Parameters | back to summary |
|---|---|
| public RC2Parameters() | |
| engineGetEncoded | back to summary |
|---|---|
| protected byte[] engineGetEncoded() throws IOException Implements abstract java. Doc from java. Returns the parameters in their primary encoding format. The primary encoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.
| |
| engineGetEncoded | back to summary |
|---|---|
| protected byte[] engineGetEncoded(String encodingMethod) throws IOException Implements abstract java. Doc from java. Returns the parameters encoded in the specified format.
If
| |
| engineGetParameterSpec | back to summary |
|---|---|
| protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> paramSpec) throws InvalidParameterSpecException Implements abstract java. Doc from java. Returns a (transparent) specification of this parameters
object.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException Implements abstract java. Doc from java. Initializes this parameters object using the parameters
specified in
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(byte[] encoded) throws IOException Implements abstract java. Doc from java. Imports the specified parameters and decodes them according to the primary decoding format for parameters. The primary decoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(byte[] encoded, String decodingMethod) throws IOException Implements abstract java. Doc from java. Imports the parameters from
| |
| engineToString | back to summary |
|---|---|
| protected String engineToString() Implements abstract java. Doc from java. Returns a formatted string describing the parameters. | |