Interface KeyMaterialReaderBackend
-
public interface KeyMaterialReaderBackend
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyMaterialread(java.io.InputStream data, java.lang.Long tag)
-
-
-
Method Detail
-
read
KeyMaterial read(java.io.InputStream data, java.lang.Long tag) throws java.io.IOException, BadDataException
- Parameters:
data- input stream containing the binary representation of the key.tag- tag for the key material. Might be null.- Returns:
- key or certificate object
- Throws:
java.io.IOException- in case of an IO errorBadDataException- in case that the data stream does not contain a valid OpenPGP key/certificate
-
-