package com.android.org.bouncycastle.jce.provider; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ @com.francetelecom.rd.stubs.annotation.ClassDone(0) public class JCEStreamCipher extends WrapCipherSpi implements PBE { // Classes public static class PBEWithSHAAnd128BitRC4 extends JCEStreamCipher { // Constructors public PBEWithSHAAnd128BitRC4(){ super((com.android.org.bouncycastle.crypto.StreamCipher) null, 0); } } public static class PBEWithSHAAnd40BitRC4 extends JCEStreamCipher { // Constructors public PBEWithSHAAnd40BitRC4(){ super((com.android.org.bouncycastle.crypto.StreamCipher) null, 0); } } // Constructors protected JCEStreamCipher(com.android.org.bouncycastle.crypto.StreamCipher arg1, int arg2){ super(); } protected JCEStreamCipher(com.android.org.bouncycastle.crypto.BlockCipher arg1, int arg2){ super(); } // Methods protected void engineInit(int arg1, java.security.Key arg2, java.security.spec.AlgorithmParameterSpec arg3, java.security.SecureRandom arg4) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException{ } protected void engineInit(int arg1, java.security.Key arg2, java.security.AlgorithmParameters arg3, java.security.SecureRandom arg4) throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException{ } protected void engineInit(int arg1, java.security.Key arg2, java.security.SecureRandom arg3) throws java.security.InvalidKeyException{ } protected int engineGetBlockSize(){ return 0; } protected byte [] engineGetIV(){ return (byte []) null; } protected int engineGetKeySize(java.security.Key arg1){ return 0; } protected int engineGetOutputSize(int arg1){ return 0; } protected java.security.AlgorithmParameters engineGetParameters(){ return (java.security.AlgorithmParameters) null; } protected void engineSetMode(java.lang.String arg1){ } protected void engineSetPadding(java.lang.String arg1) throws javax.crypto.NoSuchPaddingException{ } protected byte [] engineUpdate(byte [] arg1, int arg2, int arg3){ return (byte []) null; } protected int engineUpdate(byte [] arg1, int arg2, int arg3, byte [] arg4, int arg5) throws javax.crypto.ShortBufferException{ return 0; } protected byte [] engineDoFinal(byte [] arg1, int arg2, int arg3){ return (byte []) null; } protected int engineDoFinal(byte [] arg1, int arg2, int arg3, byte [] arg4, int arg5){ return 0; } }