1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com
{ module sun
{ module star
{ module xml
{ module crypto
{
23 * Interface of XML signature template
25 * <p>This interface represents a signature template, which is the same as the
26 * desired XML signature element but some of the nodes may be empty. The empty
27 * entities include digest value and signature value. Empty entities are not
28 * allowed in a signature template when performing validation.</p>
30 * <p>In some cases, the signer or verifier can determine and locate the
31 * contents to be signed from the template by dereference the URI.</p>
33 * <p>With the help of signature context, the signer or verifier specifies the
34 * key from the KeyInfo in the signature template.</p>
36 interface XXMLSignatureTemplate
: XXMLSecurityTemplate
39 * Get the target XML element, i.e. the element to be signed
41 sequence
< com
::sun
::star
::xml
::wrapper
::XXMLElementWrapper
> getTargets
(
45 * Set the dynamic URI binding
48 [in] com
::sun
::star
::xml
::crypto
::XUriBinding aUriBinding
49 ) raises
( com
::sun
::star
::lang
::IllegalArgumentException
) ;
52 * Get the dynamic URI binding
54 com
::sun
::star
::xml
::crypto
::XUriBinding getBinding
( ) ;
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */