JSR 106 v0.3 API Changes

General

  1. All TBE are replaced by ToBeEncrypted

javax.xml.crypto.enc.dom

  1. Add DOMEncryptContext constructors that take KeySelector as one of the parameters.

javax.xml.crypto.enc

  1. A XMLNS constant is added to the EncryptedType to represent the XML Encryption namespace URI.
  2. Modified newEncryptedData(ToBeEncrypted toBeEncrypted, EncryptionMethod encMethod, KeyInfo keyInfo, EncryptionProperties properties, String id, String type, String mimeType, String encoding) method in XMLEncryptionFactory
  3. Added newEncryptedData(ToBeEncrypted toBeEncrypted, EncryptionMethod encMethod, KeyInfo keyInfo, EncryptionProperties properties, String id, String type, String mimeType, String encoding, CipherReference cipherRef) method in XMLEncryptionFactory
  4. Modified newEncryptedKey(ToBeEncryptedKey key, EncryptionMethod encMethod, javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo, EncryptionProperties properties, java.util.List references, java.lang.String carriedKeyName, java.lang.String recipient, java.lang.String id, java.lang.String type, java.lang.String mimeType, java.lang.String encoding) method in XMLEncryptionFactory
  5. Added newEncryptedKey(ToBeEncryptedKey key, EncryptionMethod encMethod, javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo, EncryptionProperties properties, java.util.List references, java.lang.String carriedKeyName, java.lang.String recipient, java.lang.String id, java.lang.String type, java.lang.String mimeType, java.lang.String encoding, CipherReference cipherRef) method in XMLEncryptionFactory

samples

  1. Updated DataEncryptor.java to explain use of CipherReference and reflect changes in ToBeEncrypted interfaces

© Portions Copyright 2003, 2011 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2011, Oracle and/or its affiliates. All rights reserved.