equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2014, 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 |
49 * one of the {@link XMLSignatureFactory#newManifest newManifest} |
49 * one of the {@link XMLSignatureFactory#newManifest newManifest} |
50 * methods of the {@link XMLSignatureFactory} class; for example: |
50 * methods of the {@link XMLSignatureFactory} class; for example: |
51 * |
51 * |
52 * <pre> |
52 * <pre> |
53 * XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM"); |
53 * XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM"); |
54 * List references = Collections.singletonList(factory.newReference |
54 * Reference ref = factory.newReference("#reference-1", DigestMethod.SHA1); |
55 * ("#reference-1", DigestMethod.SHA1)); |
55 * List<Reference> references = Collections.singletonList(ref); |
56 * Manifest manifest = factory.newManifest(references, "manifest-1"); |
56 * Manifest manifest = factory.newManifest(references, "manifest-1"); |
57 * </pre> |
57 * </pre> |
58 * |
58 * |
59 * @author Sean Mullan |
59 * @author Sean Mullan |
60 * @author JSR 105 Expert Group |
60 * @author JSR 105 Expert Group |
84 * list} of one or more {@link Reference}s that are contained in this |
84 * list} of one or more {@link Reference}s that are contained in this |
85 * <code>Manifest</code>. |
85 * <code>Manifest</code>. |
86 * |
86 * |
87 * @return an unmodifiable list of one or more <code>Reference</code>s |
87 * @return an unmodifiable list of one or more <code>Reference</code>s |
88 */ |
88 */ |
89 @SuppressWarnings("rawtypes") |
89 List<Reference> getReferences(); |
90 List getReferences(); |
|
91 } |
90 } |