Package org.apache.james.jdkim.api
Interface SignatureRecord
-
- All Known Implementing Classes:
SignatureRecordImpl
public interface SignatureRecordA complete SignatureRecord, including the signature and "formatted".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBodyCanonicalisationMethod()byte[]getBodyHash()intgetBodyHashLimit()CharSequencegetDToken()CharSequencegetHashAlgo()CharSequencegetHashKeyType()CharSequencegetHashMethod()StringgetHeaderCanonicalisationMethod()List<CharSequence>getHeaders()Return list of signed headers - that is the value of the "h" tag.CharSequencegetIdentity()CharSequencegetIdentityLocalPart()List<CharSequence>getRecordLookupMethods()CharSequencegetSelector()byte[]getSignature()LonggetSignatureTimestamp()voidsetBodyHash(byte[] newBodyHash)voidsetSignature(byte[] newSignature)StringtoUnsignedString()voidvalidate()
-
-
-
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()
-
-