| 1 |
/* |
| 2 |
* Copyright 1999-2010 University of Chicago |
| 3 |
* |
| 4 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in |
| 5 |
* compliance with the License. You may obtain a copy of the License at |
| 6 |
* |
| 7 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
* |
| 9 |
* Unless required by applicable law or agreed to in writing, software distributed under the License is |
| 10 |
* distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either |
| 11 |
* express or implied. |
| 12 |
* |
| 13 |
* See the License for the specific language governing permissions and limitations under the License. |
| 14 |
*/ |
| 15 |
|
| 16 |
package org.globus.gsi; |
| 17 |
|
| 18 |
/** |
| 19 |
* Created by IntelliJ IDEA. |
| 20 |
* User: turtlebender |
| 21 |
* Date: Jan 21, 2010 |
| 22 |
* Time: 10:32:19 AM |
| 23 |
* To change this template use File | Settings | File Templates. |
| 24 |
*/ |
| 25 |
public final class OpenSSLKeyConstants { |
| 26 |
public static final int DES_EDE3_CBC_KEY_LENGTH = 24; |
| 27 |
public static final int DES_EDE3_CBC_IV_LENGTH = 8; |
| 28 |
public static final int AES_128_CBC_KEY_LENGTH = 16; |
| 29 |
public static final int AES_128_CBC_IV_LENGTH = 16; |
| 30 |
public static final int AES_192_CBC_KEY_LENGTH = 24; |
| 31 |
public static final int AES_192_CBC_IV_LENGTH = 16; |
| 32 |
public static final int AES_256_CBC_KEY_LENGTH = 32; |
| 33 |
public static final int AES_256_CBC_IV_LENGTH = 16; |
| 34 |
public static final int DES_CBC_KEY_LENGTH = 8; |
| 35 |
public static final int DES_CBC_IV_LENGTH = 8; |
| 36 |
|
| 37 |
private OpenSSLKeyConstants() { |
| 38 |
//should not be instantiated; |
| 39 |
} |
| 40 |
|
| 41 |
} |