public ProtoKeySerialization getSerialization(@Nullable SecretKeyAccess access)
      throws GeneralSecurityException {
    throwIfMissingAccess(serialization, access);
    return serialization;
  }
Returns the protokeyserialization with which this object was created.

<p>Access is required for SYMMETRIC and ASYMMETRIC_PRIVATE key material types.
java_src/src/main/java/com/google/crypto/tink/internal/LegacyProtoKey.java