public class SsfSigRcpList extends Object
SsfSigRcpInfo
Constructor and Description |
---|
SsfSigRcpList() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(SsfSigRcpInfo info)
Add an entry to the list.
|
boolean |
checkInitialCerts(ISsfPab pab,
boolean all)
For all entries with status
SSF_INITIAL , check if the
entry's certificate is valid and trusted and change its status to
SSF_OK , SSF_NO_CERTIFICATE ,
SSF_INVALID_CERT or SSF_UNTRUSTED_CERT . |
void |
clear()
Clear the list.
|
SsfSigRcpInfo |
get(int i)
Get the i-th entry from the list.
|
void |
setInitial()
Set the status of all entries to
SSF_INITIAL . |
int |
size()
Get the size of the list.
|
String |
toString()
Get description of the signer/recipient list
|
public boolean add(SsfSigRcpInfo info)
info
- signer/recipient info to be added.true
public void clear()
public int size()
public SsfSigRcpInfo get(int i)
i
- number of the entry to be getIndexOutOfBoundsException
- if index is out of range
(index < 0 || index >= size())
.public void setInitial()
SSF_INITIAL
.public boolean checkInitialCerts(ISsfPab pab, boolean all)
SSF_INITIAL
, check if the
entry's certificate is valid and trusted and change its status to
SSF_OK
, SSF_NO_CERTIFICATE
,
SSF_INVALID_CERT
or SSF_UNTRUSTED_CERT
.pab
- Private address book containg the trusted root certificatesall
- Determine how single checks are combined to a overall result.
If true
, all checks must be sucessful.
If false
, one check must be sucessful.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] CORE-TOOLS
|
[sap.com]
|
default
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/security/lib
|
api
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
-
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
default
|
BC-JAS-SEC
|
Copyright 2018 SAP AG Complete Copyright Notice