Hello, I have some predefined key to use it by some symmetric algorithm (AES/CBC/NoPadding for example) for encryption/decryption in Java 1.6 code which works with NSS crypto in fips mode through PKCS#11 bridge. The questions are:
1. Am I constrained to import the predefined key to NSS db in order to initialize the Cipher with that key? 2. If so, what is the right syntax to perform it dynamically during runtime? Is it mandatory to use JSS, or maybe somehow by means of KeyStore instance? 3. Is there a difference or additional restrictions when importing symmetric key to NSS db when I fips mode? Thanks in advance Yevgeniy ________________________________ This email and any files transmitted with it are confidential material. They are intended solely for the use of the designated individual or entity to whom they are addressed. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this email in error please immediately notify the sender and delete or destroy any copy of this message
_______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto