Package net.sf.michaelo.tomcat.pac
Interface PacSignatureVerifier
- All Known Implementing Classes:
NopPacSignatureVerifier,PacSignatureVerifierBase,PrivateSunPacSignatureVerifier
public interface PacSignatureVerifier
An interface for pluggable PAC signature verifier implementations for
PacSignatureData.
The specification of Kerberos checksum (calculation) is available at
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidverify(PacSignatureData signatureData, byte[] data, Key[] keys) Verifies the signature on the supplied data with an array of suitable Kerberos keys.
-
Field Details
-
KU_KERB_NON_KERB_CKSUM_SALT
static final int KU_KERB_NON_KERB_CKSUM_SALT- See Also:
-
-
Method Details
-
verify
Verifies the signature on the supplied data with an array of suitable Kerberos keys.- Parameters:
signatureData- the PAC signature data to be verifieddata- the data to be verififedkeys- an array of keys to calculate the signature- Throws:
NullPointerException- if any argument is nullIllegalArgumentException- if any array is emptyIllegalArgumentException- if no key algorithm matches thesignature encryption typeSignatureException- if signature cannot be verified
-