Procedure to generate a valid CBRS CpiSignatureData object
(per WINNF-TS-0016 SAS-CBSD Interface Technical Specification, §§ 9.3, 10.1.6–10.1.8, and RFC 7515 JWS compact serialization)
The result is a JOSE compact serialization JWT (signed but not encrypted) that is then split into the three fields of a CpiSignatureData object for inclusion in a CBSD RegistrationRequest.
These characterize the device installation and identify the CPI. They become fields inside the JWT claims.
InstallationParam installationParam = new InstallationParam()
.setLatitude(37.425056)
.setLongitude(-122.084113)
.setHeight(9.3)
.setHeightType("AGL") // or "AMSL"
.setIndoorDeployment(true)
.setAntennaGain(5.0)
.setAntennaAzimuth(0.0)
.setAntennaDowntilt(0.0)
.setAntennaBeamwidth(360.0);
// optional: horizontalAccuracy, verticalAccuracy, eirpCapability, antennaModel, ...
ProfessionalInstallerData professionalInstallerData = new ProfessionalInstallerData()
.setCpiId("10987654321AA") // max 256 octets
.setCpiName("John Doe") // max 256 octets
.setInstallCertificationTime("2026-12-02T22:00:00Z"); // UTC, YYYY-MM-DDThh:mm:ssZ
The JWT claims set is the CpiSignedData object.
There is no separate intermediate object; the claims are exactly the four fields defined for CpiSignedData in WINNF-TS-0016 Table 10. These are the values the CPI certifies.
JwtClaims jwtClaims = new JwtClaims()
.addClaim("fccId", "FCC_ID") // must equal the enclosing RegistrationRequest.fccId
.addClaim("cbsdSerialNumber", "SERIAL_NUMBER") // must equal the enclosing RegistrationRequest.cbsdSerialNumber
.addClaim("installationParam", installationParam)
.addClaim("professionalInstallerData", professionalInstallerData);
// No standard JWT claims (iss, sub, exp, etc.) are required by the specification.
Use the CPI’s private key (from the X.509 certificate issued by a WInnForum-approved CA).
Supported algorithms: RS256 or ES256.
X509Credential credential = ...; // CPI private key + certificate (typically from .p12)
String jwt = JwtUtility.sign(
jwtClaims,
credential.getPrivateKey(),
credential.getKeyId() // optional "kid" header parameter
);
The protected header produced must be equivalent to one of:
{ "typ": "JWT", "alg": "RS256" }
or
{ "typ": "JWT", "alg": "ES256" }
(optionally with "kid").
This yields a compact JWS:
BASE64URL(protectedHeader).BASE64URL(payload).BASE64URL(signature)
CpiSignatureData objectString[] token = jwt.split("\\.", 3);
CpiSignatureData cpiSignatureData = new CpiSignatureData()
.setProtectedHeader(token[0]) // BASE64-encoded JOSE protected header
.setEncodedCpiSignedData(token[1]) // BASE64-encoded CpiSignedData (the JWT claims)
.setDigitalSignature(token[2]); // BASE64URL-encoded signature
Place the resulting CpiSignatureData object in the RegistrationRequest:
{
"fccId": "FCC_ID",
"cbsdSerialNumber": "SERIAL_NUMBER",
"cpiSignatureData": {
"protectedHeader": "...",
"encodedCpiSignedData": "...",
"digitalSignature": "..."
}
// Do not also include a top-level installationParam when using cpiSignatureData
}
fccId and cbsdSerialNumber inside the signed claims must equal the values in the enclosing registration request.installationParam; extra fields are not permitted.This procedure produces a specification-compliant CpiSignatureData object.
Pages