Package org.apache.james.jdkim.api
Interface SignatureRecord
-
- All Known Implementing Classes:
SignatureRecordImpl
public interface SignatureRecord
A complete SignatureRecord, including the signature and "formatted".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBodyCanonicalisationMethod()
byte[]
getBodyHash()
int
getBodyHashLimit()
CharSequence
getDToken()
CharSequence
getHashAlgo()
CharSequence
getHashKeyType()
CharSequence
getHashMethod()
String
getHeaderCanonicalisationMethod()
List<CharSequence>
getHeaders()
Return list of signed headers - that is the value of the "h" tag.CharSequence
getIdentity()
CharSequence
getIdentityLocalPart()
List<CharSequence>
getRecordLookupMethods()
CharSequence
getSelector()
byte[]
getSignature()
Long
getSignatureTimestamp()
void
setBodyHash(byte[] newBodyHash)
void
setSignature(byte[] newSignature)
String
toUnsignedString()
void
validate()
-
-
-
Field Detail
-
RELAXED
static final String RELAXED
- See Also:
- Constant Field Values
-
ISCHEDULE_RELAXED
static final String ISCHEDULE_RELAXED
- See Also:
- Constant Field Values
-
SIMPLE
static final String SIMPLE
- See Also:
- Constant Field Values
-
ALL
static final String ALL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeaders
List<CharSequence> getHeaders()
Return list of signed headers - that is the value of the "h" tag.- Returns:
- list of headers,
-
getIdentityLocalPart
CharSequence getIdentityLocalPart()
-
getIdentity
CharSequence getIdentity()
-
getHashKeyType
CharSequence getHashKeyType()
-
getHashMethod
CharSequence getHashMethod()
-
getHashAlgo
CharSequence getHashAlgo()
-
getSelector
CharSequence getSelector()
-
getDToken
CharSequence getDToken()
-
getBodyHash
byte[] getBodyHash()
-
getBodyHashLimit
int getBodyHashLimit()
-
getHeaderCanonicalisationMethod
String getHeaderCanonicalisationMethod()
-
getBodyCanonicalisationMethod
String getBodyCanonicalisationMethod()
-
getRecordLookupMethods
List<CharSequence> getRecordLookupMethods()
-
validate
void validate()
-
getSignature
byte[] getSignature()
-
setSignature
void setSignature(byte[] newSignature)
-
setBodyHash
void setBodyHash(byte[] newBodyHash)
-
toUnsignedString
String toUnsignedString()
-
getSignatureTimestamp
Long getSignatureTimestamp()
-
-