public class CardAccessFile extends Object
Constructor and Description |
---|
CardAccessFile(Collection<SecurityInfo> securityInfos)
Constructs a new file from the provided data.
|
CardAccessFile(InputStream inputStream)
Constructs a new file from the data in an input stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherObj)
Tests equality with respect to another object.
|
Collection<PACEInfo> |
getPACEInfos()
Gets the PACE infos embedded in this card access file.
|
Collection<SecurityInfo> |
getSecurityInfos()
Gets the security infos as an unordered collection.
|
int |
hashCode()
Gets a hash code of this object.
|
protected void |
readContent(InputStream inputStream) |
String |
toString()
Gets the signature algorithm object identifier.
|
protected void |
writeContent(OutputStream outputStream) |
public CardAccessFile(Collection<SecurityInfo> securityInfos)
securityInfos
- a non-empty list of security infospublic CardAccessFile(InputStream inputStream) throws IOException
inputStream
- the input stream to parse the data fromIOException
- on error reading input streamprotected void readContent(InputStream inputStream) throws IOException
IOException
protected void writeContent(OutputStream outputStream) throws IOException
IOException
public Collection<SecurityInfo> getSecurityInfos()
public Collection<PACEInfo> getPACEInfos()
public String toString()
public boolean equals(Object otherObj)
Copyright © 2016. All rights reserved.