org.apache.james.jdkim.tagvalue
Class PublicKeyRecordImpl
java.lang.Object
org.apache.james.jdkim.tagvalue.TagValue
org.apache.james.jdkim.tagvalue.PublicKeyRecordImpl
- All Implemented Interfaces:
- PublicKeyRecord
public class PublicKeyRecordImpl
- extends TagValue
- implements PublicKeyRecord
Methods inherited from class org.apache.james.jdkim.tagvalue.TagValue |
containsTag, equals, getDefault, getTags, getValue, hashCode, isInListCaseInsensitive, parse, setValue, stringToColonSeparatedList, tagSet, toString, trimFWS |
PublicKeyRecordImpl
public PublicKeyRecordImpl(String data)
newTagValue
protected Map newTagValue()
- Overrides:
newTagValue
in class TagValue
init
protected void init()
- Overrides:
init
in class TagValue
validate
public void validate()
- Specified by:
validate
in interface PublicKeyRecord
- Overrides:
validate
in class TagValue
isHashMethodSupported
public boolean isHashMethodSupported(CharSequence hash)
- Specified by:
isHashMethodSupported
in interface PublicKeyRecord
- See Also:
PublicKeyRecord.isHashMethodSupported(java.lang.CharSequence)
isKeyTypeSupported
public boolean isKeyTypeSupported(CharSequence hash)
- Specified by:
isKeyTypeSupported
in interface PublicKeyRecord
- See Also:
PublicKeyRecord.isKeyTypeSupported(java.lang.CharSequence)
getAcceptableHashMethods
public List getAcceptableHashMethods()
- Specified by:
getAcceptableHashMethods
in interface PublicKeyRecord
- Returns:
- null if "any", otherwise a list of supported methods
- See Also:
PublicKeyRecord.getAcceptableHashMethods()
getAcceptableKeyTypes
public List getAcceptableKeyTypes()
- Specified by:
getAcceptableKeyTypes
in interface PublicKeyRecord
- Returns:
- null if "any", otherwise a list of supported methods
- See Also:
PublicKeyRecord.getAcceptableKeyTypes()
getGranularityPattern
public Pattern getGranularityPattern()
- Specified by:
getGranularityPattern
in interface PublicKeyRecord
- See Also:
PublicKeyRecord.getGranularityPattern()
getFlags
public List getFlags()
- Specified by:
getFlags
in interface PublicKeyRecord
isDenySubdomains
public boolean isDenySubdomains()
- Specified by:
isDenySubdomains
in interface PublicKeyRecord
isTesting
public boolean isTesting()
- Specified by:
isTesting
in interface PublicKeyRecord
getPublicKey
public PublicKey getPublicKey()
- Specified by:
getPublicKey
in interface PublicKeyRecord
- See Also:
PublicKeyRecord.getPublicKey()
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.