Update: Verify and extract su3 files.

untested...
This commit is contained in:
zzz
2013-09-22 19:19:36 +00:00
parent f47ec65b8f
commit 837517e94e
2 changed files with 44 additions and 3 deletions

View File

@ -137,6 +137,24 @@ public class SU3File {
return _signer;
}
/**
* @return null if unknown
* @since 0.9.9
*/
public SigType getSigType() throws IOException {
verifyHeader();
return _sigType;
}
/**
* @return -1 if unknown
* @since 0.9.9
*/
public int getContentType() throws IOException {
verifyHeader();
return _contentType != null ? _contentType.getCode() : -1;
}
/**
* Throws IOE if verify vails.
*/