Package net.sf.michaelo.tomcat.pac
Class PacSignatureData
- java.lang.Object
-
- net.sf.michaelo.tomcat.pac.PacSignatureData
-
public class PacSignatureData extends Object
A class representing thePAC_SIGNATURE_DATA
structure from MS-PAC.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PacSignatureData.SignatureType
-
Constructor Summary
Constructors Constructor Description PacSignatureData(byte[] sigDataBytes)
Parses a PAC signature data object from a byte array.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getSignature()
PacSignatureData.SignatureType
getType()
-
-
-
Constructor Detail
-
PacSignatureData
public PacSignatureData(byte[] sigDataBytes)
Parses a PAC signature data object from a byte array.- Parameters:
sigDataBytes
- PAC signature data structure encoded as bytes- Throws:
NullPointerException
- ifsigDataBytes
is nullIllegalArgumentException
- ifsigDataBytes
is emptyIllegalArgumentException
- if encoded signature type is not supported byPacSignatureData.SignatureType
-
-
Method Detail
-
getType
public PacSignatureData.SignatureType getType()
-
getSignature
public byte[] getSignature()
-
-