public class CardAccessFile
extends java.lang.Object
Constructor and Description |
---|
CardAccessFile(java.util.Collection<SecurityInfo> securityInfos)
Constructs a new file from the provided data.
|
CardAccessFile(java.io.InputStream inputStream)
Constructs a new file from the data in an input stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Collection<PACEInfo> |
getPACEInfos() |
java.util.Collection<SecurityInfo> |
getSecurityInfos()
Gets the security infos as an unordered collection.
|
int |
hashCode() |
protected void |
readContent(java.io.InputStream inputStream) |
java.lang.String |
toString() |
protected void |
writeContent(java.io.OutputStream outputStream) |
public CardAccessFile(java.util.Collection<SecurityInfo> securityInfos)
securityInfos
- a list of security infospublic CardAccessFile(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- the input stream to parse the data fromjava.io.IOException
- on error reading input streamprotected void readContent(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
protected void writeContent(java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public java.util.Collection<SecurityInfo> getSecurityInfos()
public java.util.Collection<PACEInfo> getPACEInfos()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object