Package com.google.appengine.api.appidentity (2.0.0)

Provides a service to sign arbitrary byte arrays using an internally-generated, rotated private key. See Also: com.google.appengine.api.appidentity.AppIdentityService, The App Identity Java API in the Google App Engine Developer's Guide.

Classes

AppIdentityService.GetAccessTokenResult

GetAccessTokenResult is returned by getAccessToken. It contains the access token and the expiration time for the token.

AppIdentityService.ParsedAppId

Class holding the results of parsing a full application id into its constituent parts. See Also: #parseFullAppId

AppIdentityService.SigningResult

SigningResult is returned by signForApp, which contains signing key name and signature.

AppIdentityServiceFactory

Creates new instances of the App Identity service.

AppIdentityServicePb

AppIdentityServicePb.AppIdentityServiceError

AppIdentityServicePb.AppIdentityServiceError.Builder

AppIdentityServicePb.GetAccessTokenRequest

AppIdentityServicePb.GetAccessTokenRequest.Builder

AppIdentityServicePb.GetAccessTokenResponse

AppIdentityServicePb.GetAccessTokenResponse.Builder

AppIdentityServicePb.GetDefaultGcsBucketNameRequest

AppIdentityServicePb.GetDefaultGcsBucketNameRequest.Builder

AppIdentityServicePb.GetDefaultGcsBucketNameResponse

AppIdentityServicePb.GetDefaultGcsBucketNameResponse.Builder

AppIdentityServicePb.GetPublicCertificateForAppRequest

AppIdentityServicePb.GetPublicCertificateForAppRequest.Builder

AppIdentityServicePb.GetPublicCertificateForAppResponse

AppIdentityServicePb.GetPublicCertificateForAppResponse.Builder

AppIdentityServicePb.GetServiceAccountNameRequest

AppIdentityServicePb.GetServiceAccountNameRequest.Builder

AppIdentityServicePb.GetServiceAccountNameResponse

AppIdentityServicePb.GetServiceAccountNameResponse.Builder

AppIdentityServicePb.PublicCertificate

AppIdentityServicePb.PublicCertificate.Builder

AppIdentityServicePb.SignForAppRequest

AppIdentityServicePb.SignForAppRequest.Builder

AppIdentityServicePb.SignForAppResponse

AppIdentityServicePb.SignForAppResponse.Builder

IAppIdentityServiceFactoryProvider

Factory provider for IAppIdentityServiceFactory.

Note: This class is not intended for end users.

PublicCertificate

PublicCertificate contains an x509 public certificate in PEM format and a string which is used to identify this certificate. See Also: RFC 5280 for the specification of x509 certificates.

Interfaces

AppIdentityService

The AppIdentityService allows you to sign an arbitrary byte array using a per app private key maintained by App Engine, and to retrieve a list of public certificates which can be used to verify the signature.

App Engine is responsible for maintaining the per application private key. App Engine will rotate private keys periodically. App Engine never gives these private keys to the outside.

Since private keys are rotated periodically, #getPublicCertificatesForApp could return a list of public certificates. It is the caller's responsibility to try these certificates one by one when doing signature verification.

AppIdentityServicePb.AppIdentityServiceErrorOrBuilder

AppIdentityServicePb.GetAccessTokenRequestOrBuilder

AppIdentityServicePb.GetAccessTokenResponseOrBuilder

AppIdentityServicePb.GetDefaultGcsBucketNameRequestOrBuilder

AppIdentityServicePb.GetDefaultGcsBucketNameResponseOrBuilder

AppIdentityServicePb.GetPublicCertificateForAppRequestOrBuilder

AppIdentityServicePb.GetPublicCertificateForAppResponseOrBuilder

AppIdentityServicePb.GetServiceAccountNameRequestOrBuilder

AppIdentityServicePb.GetServiceAccountNameResponseOrBuilder

AppIdentityServicePb.PublicCertificateOrBuilder

AppIdentityServicePb.SignForAppRequestOrBuilder

AppIdentityServicePb.SignForAppResponseOrBuilder

IAppIdentityServiceFactory

Creates new instances of the App Identity service.

Enums

AppIdentityServicePb.AppIdentityServiceError.ErrorCode

Exceptions

AppIdentityServiceFailureException

AppIdentityServiceFailureException is thrown when any unknown error occurs while communicating with the App Identity service.