public interface CodebaseAccessor extends Remote
RevocablePolicy.grant(PermissionGrant)
A service needn't implement this if a proxy doesn't require a codebase
download.
Certificates et al are sent in encoded format. The choice was made not
to Serialize Certificate or CodeSigner in case the CertificateFactory
provider isn't installed and to also allow low level DataInput
and
DataOutput
based communication.RevocablePolicy
,
PermissionGrant
Modifier and Type | Method and Description |
---|---|
String |
getCertFactoryType()
Get the CertificateFactory type.
|
String |
getCertPathEncoding()
Get the CertPath encoding;
|
String |
getClassAnnotation()
Obtains the service class annotation as defined in
ClassLoading.getClassAnnotation(Class) . |
byte[] |
getEncodedCerts()
The byte array can be passed to a ByteArrayInputStream, which can be
passed to a CertificateFactory to generate a Collection of Certificates,
or CertPath.
|
String getClassAnnotation() throws IOException
ClassLoading.getClassAnnotation(Class)
.IOException
- if a connection problem occurs.String getCertFactoryType() throws IOException
IOException
- if a connection problem occurs.CertificateFactory.getInstance(java.lang.String)
String getCertPathEncoding() throws IOException
IOException
- if a connection problem occurs.CertPath.CertPath(java.lang.String)
byte[] getEncodedCerts() throws IOException
IOException
- if a connection problem occurs.ByteArrayInputStream
,
CertificateFactory.generateCertPath(java.io.InputStream)
,
CertificateFactory.generateCertificates(java.io.InputStream)
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.