Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Open Mobile Alliance DRM Encryption Method

843810Sep 6 2004 — edited Sep 23 2004
I'm trying to encrypt an mp3 file for use on a mobile phone using the Open Mobile Alliance DRM v1.0 encryption method 'AES128CBC'. The semantics of this method are:

AES symmetric encryption as defined by NIST.
128 bit keys.
Cipher block chaining mode (CBC).
128 bit initialization vector prefixing the ciphertext.
Padding according to RFC 2630.

However, as a newbie to Java Cryptography I'm not sure if the SunJCE function Cipher.getInstance("AES") returns a compatible cipher. If instead I use the Cipher.getInstance("AES/CBC/?") form which padding scheme is compatible with RFC 2630 and what about the 128 bit initialization?

Any suggestions?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2004
Added on Sep 6 2004
4 comments
275 views