MIME4J-5 Performance patch 3, https://issues.apache.org/jira/browse/MIME4J-5. Contrib...
[mime4j.git] / src / main / java / org / apache / james / mime4j / RFC1864ContentMD5Descriptor.java
blob9e57dd9330aec1c454c8095a925a5520cc36d2e7
1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
19 package org.apache.james.mime4j;
21 /**
22 * Describes <a href='http://tools.ietf.org/html/rfc1864'>RFC1864</a>
23 * <code>Content-MD5</code>.
25 public interface RFC1864ContentMD5Descriptor {
27 /**
28 * Gets the raw, Base64 encoded value of the
29 * <code>Content-MD5</code> field.
30 * See <a href='http://tools.ietf.org/html/rfc1864'>RFC1864</a>.
31 * @return raw encoded content-md5
32 * or null if no header exists
34 public abstract String getContentMD5Raw();