ASF Bugzilla – Attachment 15815 Details for
Bug 35917
Error in CarriedKeyNameDefinition EncryptedKeyImpl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
definition of the toElement() method of the EncryptedKeyImpl
patch.txt (text/plain), 2.57 KB, created by
Julien Taupin
on 2005-07-28 17:07:59 UTC
(
hide
)
Description:
definition of the toElement() method of the EncryptedKeyImpl
Filename:
MIME Type:
Creator:
Julien Taupin
Created:
2005-07-28 17:07:59 UTC
Size:
2.57 KB
patch
obsolete
> Element toElement() { > Element result = ElementProxy.createElementForFamily( > _contextDocument, EncryptionConstants.EncryptionSpecNS, > EncryptionConstants._TAG_ENCRYPTEDKEY); > > if (null != super.getId()) { > result.setAttributeNS( > null, EncryptionConstants._ATT_ID, super.getId()); > } > if (null != super.getType()) { > result.setAttributeNS( > null, EncryptionConstants._ATT_TYPE, > super.getType().toString()); > } > if (null != super.getMimeType()) { > result.setAttributeNS(null, > EncryptionConstants._ATT_MIMETYPE, super.getMimeType()); > } > if (null != super.getEncoding()) { > result.setAttributeNS(null, Constants._ATT_ENCODING, > super.getEncoding().toString()); > } > if (null != getRecipient()) { > result.setAttributeNS(null, > EncryptionConstants._ATT_RECIPIENT, getRecipient()); > } > if (null != super.getEncryptionMethod()) { > result.appendChild(((EncryptionMethodImpl) > super.getEncryptionMethod()).toElement()); > } > if (null != super.getKeyInfo()) { > result.appendChild(super.getKeyInfo().getElement()); > } > result.appendChild( > ((CipherDataImpl) super.getCipherData()).toElement()); > if (null != super.getEncryptionProperties()) { > result.appendChild(((EncryptionPropertiesImpl) > super.getEncryptionProperties()).toElement()); > } > if (referenceList != null && !referenceList.isEmpty()) { > result.appendChild(((ReferenceListImpl) > getReferenceList()).toElement()); > } > > > > if (null != carriedName) > { > Element element = ElementProxy.createElementForFamily(_contextDocument, > EncryptionConstants.EncryptionSpecNS, > EncryptionConstants._TAG_CARRIEDKEYNAME); > Node node = _contextDocument.createTextNode(carriedName); > element.appendChild(node); > result.appendChild(element); > } > > return (result); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35917
:
15814
| 15815