com.fitbur.bouncycastle.cms.PasswordRecipient Maven / Gradle / Ivy
package com.fitbur.bouncycastle.cms;
import com.fitbur.bouncycastle.asn1.x509.AlgorithmIdentifier;
public interface PasswordRecipient
extends Recipient
{
public static final int PKCS5_SCHEME2 = 0;
public static final int PKCS5_SCHEME2_UTF8 = 1;
byte[] calculateDerivedKey(byte[] encodedPassword, AlgorithmIdentifier com.fitburrivationAlgorithm, int keySize)
throws CMSException;
RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] com.fitburrivedKey, byte[] encryptedEncryptedContentKey)
throws CMSException;
int getPasswordConversionScheme();
char[] getPassword();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy