01: package org.columba.mail.message;
02:
03: import org.columba.mail.config.SecurityItem;
04: import org.columba.ristretto.message.MimeHeader;
05: import org.columba.ristretto.message.MimePart;
06:
07: //The contents of this file are subject to the Mozilla Public License Version 1.1
08: //(the "License"); you may not use this file except in compliance with the
09: //License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
10: //
11: //Software distributed under the License is distributed on an "AS IS" basis,
12: //WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13: //for the specific language governing rights and
14: //limitations under the License.
15: //
16: //The Original Code is "The Columba Project"
17: //
18: //The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
19: //Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
20: //
21: //All Rights Reserved.
22: public class PGPMimePart extends MimePart {
23: private SecurityItem pgpItem;
24:
25: /**
26: * @param header
27: */
28: public PGPMimePart(MimeHeader header, SecurityItem pgpItem) {
29: super (header);
30: this .pgpItem = pgpItem;
31: }
32:
33: /**
34: * @return
35: */
36: public SecurityItem getPgpItem() {
37: return pgpItem;
38: }
39: }
|