1cc385c9fSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3cc385c9fSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4cc385c9fSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5cc385c9fSAndrew Rist * distributed with this work for additional information
6cc385c9fSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7cc385c9fSAndrew Rist * to you under the Apache License, Version 2.0 (the
8cc385c9fSAndrew Rist * "License"); you may not use this file except in compliance
9cc385c9fSAndrew Rist * with the License.  You may obtain a copy of the License at
10cc385c9fSAndrew Rist *
11cc385c9fSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cc385c9fSAndrew Rist *
13cc385c9fSAndrew Rist * Unless required by applicable law or agreed to in writing,
14cc385c9fSAndrew Rist * software distributed under the License is distributed on an
15cc385c9fSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16cc385c9fSAndrew Rist * KIND, either express or implied.  See the License for the
17cc385c9fSAndrew Rist * specific language governing permissions and limitations
18cc385c9fSAndrew Rist * under the License.
19cc385c9fSAndrew Rist *
20cc385c9fSAndrew Rist *************************************************************/
21cc385c9fSAndrew Rist
22cc385c9fSAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_xml_crypto_CipherID_idl__
24cdf0e10cSrcweir#define __com_sun_star_xml_crypto_CipherID_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir
27cdf0e10cSrcweir//============================================================================
28cdf0e10cSrcweir
29cdf0e10cSrcweirmodule com { module sun { module star { module xml { module crypto {
30cdf0e10cSrcweir
31cdf0e10cSrcweir//============================================================================
32cdf0e10cSrcweir/** The constant set contains identifiers of supported cipher-creation
33cdf0e10cSrcweir    algorithms.
34cdf0e10cSrcweir
35cdf0e10cSrcweir    @see <type>XCipherContextSupplier</type>
36*34c958abSJürgen Schmidt    @since OpenOffice 3.4
37cdf0e10cSrcweir*/
38cdf0e10cSrcweirconstants CipherID
39cdf0e10cSrcweir{
40cdf0e10cSrcweir    //------------------------------------------------------------------------
41cdf0e10cSrcweir    /** identifier of AES algorithm in CBC mode with W3C padding
42cdf0e10cSrcweir     */
43cdf0e10cSrcweir    const long AES_CBC_W3C_PADDING = 1;
44cdf0e10cSrcweir
45cdf0e10cSrcweir    //------------------------------------------------------------------------
46cdf0e10cSrcweir    /** identifier of the Blowfish algorithm in 8-bit CFB mode
47cdf0e10cSrcweir     */
48cdf0e10cSrcweir    const long BLOWFISH_CFB_8 = 2;
49cdf0e10cSrcweir};
50cdf0e10cSrcweir
51cdf0e10cSrcweir//============================================================================
52cdf0e10cSrcweir
53cdf0e10cSrcweir}; }; }; }; };
54cdf0e10cSrcweir
55cdf0e10cSrcweir#endif
56cdf0e10cSrcweir
57