jdk/src/java.xml.crypto/share/classes/javax/xml/crypto/dsig/TransformService.java
changeset 33241 27eb2d6abda9
parent 25859 3317bb8137f4
child 37348 9ccec3170d5e
equal deleted inserted replaced
33240:346a88a88fee 33241:27eb2d6abda9
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   134      * algorithm and mechanism type is returned.
   134      * algorithm and mechanism type is returned.
   135      *
   135      *
   136      * <p> Note that the list of registered providers may be retrieved via
   136      * <p> Note that the list of registered providers may be retrieved via
   137      * the {@link Security#getProviders() Security.getProviders()} method.
   137      * the {@link Security#getProviders() Security.getProviders()} method.
   138      *
   138      *
       
   139      * @implNote
       
   140      * The JDK Reference Implementation additionally uses the
       
   141      * {@code jdk.security.provider.preferred} property to determine
       
   142      * the preferred provider order for the specified algorithm. This
       
   143      * may be different than the order of providers returned by
       
   144      * {@link Security#getProviders() Security.getProviders()}.
       
   145      *
   139      * @param algorithm the URI of the algorithm
   146      * @param algorithm the URI of the algorithm
   140      * @param mechanismType the type of the XML processing mechanism and
   147      * @param mechanismType the type of the XML processing mechanism and
   141      *   representation
   148      *   representation
   142      * @return a new <code>TransformService</code>
   149      * @return a new <code>TransformService</code>
   143      * @throws NullPointerException if <code>algorithm</code> or
   150      * @throws NullPointerException if <code>algorithm</code> or