org.apache.james.jdkim.tagvalue
Class SignatureRecordImpl
java.lang.Object
org.apache.james.jdkim.tagvalue.TagValue
org.apache.james.jdkim.tagvalue.SignatureRecordImpl
- All Implemented Interfaces:
- SignatureRecord
public class SignatureRecordImpl
- extends TagValue
- implements SignatureRecord
Methods inherited from class org.apache.james.jdkim.tagvalue.TagValue |
containsTag, equals, getTags, getValue, hashCode, isInListCaseInsensitive, newTagValue, parse, setValue, stringToColonSeparatedList, tagSet, toString, trimFWS |
SignatureRecordImpl
public SignatureRecordImpl(String data)
init
protected void init()
- Overrides:
init
in class TagValue
validate
public void validate()
throws IllegalStateException
- Specified by:
validate
in interface SignatureRecord
- Overrides:
validate
in class TagValue
- Throws:
IllegalStateException
- See Also:
SignatureRecord.validate()
getHeaders
public List getHeaders()
- Specified by:
getHeaders
in interface SignatureRecord
- See Also:
SignatureRecord.getHeaders()
getDefault
protected CharSequence getDefault(String tag)
- Overrides:
getDefault
in class TagValue
getIdentityLocalPart
public CharSequence getIdentityLocalPart()
- Specified by:
getIdentityLocalPart
in interface SignatureRecord
- See Also:
SignatureRecord.getIdentityLocalPart()
getIdentity
public CharSequence getIdentity()
- Specified by:
getIdentity
in interface SignatureRecord
dkimQuotedPrintableDecode
public static String dkimQuotedPrintableDecode(CharSequence input)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getHashKeyType
public CharSequence getHashKeyType()
- Specified by:
getHashKeyType
in interface SignatureRecord
- See Also:
SignatureRecord.getHashKeyType()
getHashMethod
public CharSequence getHashMethod()
- Specified by:
getHashMethod
in interface SignatureRecord
- See Also:
SignatureRecord.getHashMethod()
getHashAlgo
public CharSequence getHashAlgo()
- Specified by:
getHashAlgo
in interface SignatureRecord
- See Also:
SignatureRecord.getHashAlgo()
getSelector
public CharSequence getSelector()
- Specified by:
getSelector
in interface SignatureRecord
- See Also:
SignatureRecord.getSelector()
getDToken
public CharSequence getDToken()
- Specified by:
getDToken
in interface SignatureRecord
- See Also:
SignatureRecord.getDToken()
getBodyHash
public byte[] getBodyHash()
- Specified by:
getBodyHash
in interface SignatureRecord
getSignature
public byte[] getSignature()
- Specified by:
getSignature
in interface SignatureRecord
getBodyHashLimit
public int getBodyHashLimit()
- Specified by:
getBodyHashLimit
in interface SignatureRecord
getBodyCanonicalisationMethod
public String getBodyCanonicalisationMethod()
- Specified by:
getBodyCanonicalisationMethod
in interface SignatureRecord
getHeaderCanonicalisationMethod
public String getHeaderCanonicalisationMethod()
- Specified by:
getHeaderCanonicalisationMethod
in interface SignatureRecord
getRecordLookupMethods
public List getRecordLookupMethods()
- Specified by:
getRecordLookupMethods
in interface SignatureRecord
setSignature
public void setSignature(byte[] newSignature)
- Specified by:
setSignature
in interface SignatureRecord
setBodyHash
public void setBodyHash(byte[] newBodyHash)
- Specified by:
setBodyHash
in interface SignatureRecord
toUnsignedString
public String toUnsignedString()
- Specified by:
toUnsignedString
in interface SignatureRecord
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.