Package net.sf.michaelo.tomcat.pac
Interface PacSignatureVerifier
-
- All Known Implementing Classes:
NopPacSignatureVerifier,PacSignatureVerifierBase,PrivateSunPacSignatureVerifier
public interface PacSignatureVerifierAn interface for pluggable PAC signature verifier implementations forPacSignatureData.The specification of Kerberos checksum (calculation) is available at
-
-
Field Summary
Fields Modifier and Type Field Description static intKU_KERB_NON_KERB_CKSUM_SALT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidverify(PacSignatureData signatureData, byte[] data, Key[] keys)Verifies the signature on the supplied data with an array of suitable Kerberos keys.
-
-
-
Field Detail
-
KU_KERB_NON_KERB_CKSUM_SALT
static final int KU_KERB_NON_KERB_CKSUM_SALT
- See Also:
- Constant Field Values
-
-
Method Detail
-
verify
void verify(PacSignatureData signatureData, byte[] data, Key[] keys) throws SignatureException
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
-
-