1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.xml.signature.impl;
18
19 import org.opensaml.xml.AbstractXMLObjectBuilder;
20 import org.opensaml.xml.signature.PGPKeyID;
21 import org.opensaml.xml.signature.XMLSignatureBuilder;
22 import org.opensaml.xml.util.XMLConstants;
23
24
25
26
27 public class PGPKeyIDBuilder extends AbstractXMLObjectBuilder<PGPKeyID> implements XMLSignatureBuilder<PGPKeyID> {
28
29
30
31
32
33 public PGPKeyIDBuilder() {
34 }
35
36
37 public PGPKeyID buildObject(String namespaceURI, String localName, String namespacePrefix) {
38 return new PGPKeyIDImpl(namespaceURI, localName, namespacePrefix);
39 }
40
41
42 public PGPKeyID buildObject() {
43 return buildObject(XMLConstants.XMLSIG_NS, PGPKeyID.DEFAULT_ELEMENT_LOCAL_NAME, XMLConstants.XMLSIG_PREFIX);
44 }
45
46 }