public interface ServiceCodebaseAccessor
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.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)
.
When an Integrity constraint is specified,IOException
ClassLoading
,
Integrity
String getCertFactoryType() throws IOException
IOException
CertificateFactory.getInstance(java.lang.String)
String getCertPathEncoding() throws IOException
IOException
CertPath.CertPath(java.lang.String)
byte[] getEncodedCerts() throws IOException
IOException
ByteArrayInputStream
,
CertificateFactory.generateCertPath(java.io.InputStream)
,
CertificateFactory.generateCertificates(java.io.InputStream)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.