forked from I2P_Developers/i2p.i2p
Update: Verify and extract su3 files.
untested...
This commit is contained in:
@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user